Richard Smith | e75ee0f | 2015-08-17 07:13:32 +0000 | [diff] [blame] | 1 | // RUN: rm -rf %t |
Sean Silva | 0df0391 | 2015-09-02 20:16:09 +0000 | [diff] [blame] | 2 | // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -x c++ -Rmodule-build -I%S/Inputs/module-map-path-hash -fmodules-cache-path=%t -fsyntax-only %s 2>&1 | FileCheck %s --check-prefix=BUILD |
| 3 | // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -x c++ -Rmodule-build -I%S/Inputs//module-map-path-hash -fmodules-cache-path=%t -fsyntax-only %s 2>&1 | FileCheck -allow-empty %s --check-prefix=NOBUILD |
| 4 | // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -x c++ -Rmodule-build -I%S/Inputs/./module-map-path-hash -fmodules-cache-path=%t -fsyntax-only %s 2>&1 | FileCheck -allow-empty %s --check-prefix=NOBUILD |
| 5 | // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -x c++ -Rmodule-build -I%S/Inputs/../Inputs/module-map-path-hash -fmodules-cache-path=%t -fsyntax-only %s 2>&1 | FileCheck -allow-empty %s --check-prefix=NOBUILD |
Sean Silva | b963ded | 2015-07-30 00:26:34 +0000 | [diff] [blame] | 6 | |
| 7 | #include "a.h" |
| 8 | |
Sean Silva | 0df0391 | 2015-09-02 20:16:09 +0000 | [diff] [blame] | 9 | // BUILD: remark: building module |
| 10 | // NOBUILD-NOT: remark: building module |