commit | 1f2bd35b247b895619c41f5119dd424f9b1ca658 | [log] [tgz] |
---|---|---|
author | Richard Smith <richard-llvm@metafoo.co.uk> | Thu Jul 06 21:05:56 2017 +0000 |
committer | Richard Smith <richard-llvm@metafoo.co.uk> | Thu Jul 06 21:05:56 2017 +0000 |
tree | 29ff12e22f1b53bb813554fed4b718fc41f3ea05 | |
parent | 1cda1d76b110dca737d9c3b8dafe27bab9adbb04 [diff] [blame] |
Reject attempts to build a module without -fmodules, rather than silently doing weird things. llvm-svn: 307316
diff --git a/clang/test/Modules/preprocess-build.cpp b/clang/test/Modules/preprocess-build.cpp index bf9f161..36a0740 100644 --- a/clang/test/Modules/preprocess-build.cpp +++ b/clang/test/Modules/preprocess-build.cpp
@@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -std=c++1z %s -verify +// RUN: %clang_cc1 -std=c++1z -fmodules %s -verify #pragma clang module build baz module baz {}