llvm-project/clang/test/Modules/missing-flag.cpp

5 lines
195 B
C++
Raw Normal View History

// RUN: not %clang_cc1 -x c++-module-map %s -emit-module -fmodule-name=Foo -o %t 2>&1 | FileCheck %s
// CHECK: module compilation requires '-fmodules'
module Foo {}
#pragma clang module contents