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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

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