summaryrefslogtreecommitdiff
path: root/test/Modules/missing-flag.cpp
blob: 560183be59e8a15b4fcebfbf7f718ec4098a7c75 (plain)
1
2
3
4
// 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