blob: e5c9d7507c3e18d9f9944155cbc4e83806bcb1a8 [file] [log] [blame]
Richard Smithe75ee0f2015-08-17 07:13:32 +00001// RUN: rm -rf %t
Sean Silva0df03912015-09-02 20:16:09 +00002// 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 Silvab963ded2015-07-30 00:26:34 +00006
7#include "a.h"
8
Sean Silva0df03912015-09-02 20:16:09 +00009// BUILD: remark: building module
10// NOBUILD-NOT: remark: building module