diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2016-07-23 20:44:14 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2016-07-23 20:44:14 +0000 |
| commit | 2b6b257f4e5503a7a2675bdb8735693db769f75c (patch) | |
| tree | e85e046ae7003fe3bcc8b5454cd0fa3f7407b470 /test/Modules/no-implicit-builds.cpp | |
| parent | b4348ed0b7e90c0831b925fbee00b5f179a99796 (diff) | |
Notes
Diffstat (limited to 'test/Modules/no-implicit-builds.cpp')
| -rw-r--r-- | test/Modules/no-implicit-builds.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Modules/no-implicit-builds.cpp b/test/Modules/no-implicit-builds.cpp index 374ed5e4181ef..fa4d5cb3c5308 100644 --- a/test/Modules/no-implicit-builds.cpp +++ b/test/Modules/no-implicit-builds.cpp @@ -1,5 +1,9 @@ // RUN: rm -rf %t +// RUN: %clang -x c++ -std=c++11 -fmodules -fno-implicit-modules /dev/null -### \ +// RUN: 2>&1 | FileCheck --check-prefix=CHECK-NO-MODULE-CACHE %s +// CHECK-NO-MODULE-CACHE-NOT: -fmodules-cache-path + // Produce an error if a module is needed, but not found. // RUN: %clang_cc1 -x c++ -std=c++11 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t \ // RUN: -fmodule-map-file=%S/Inputs/no-implicit-builds/b.modulemap \ |
