brintos

brintos / llvm-project-archived public Read only

0
0
Text · 516 B · a48a153 Raw
9 lines · plain
1// RUN: rm -rf %t.mcp2// RUN: rm -rf %t.err3// RUN: %clang_cc1 -emit-pch -o %t.pch %s -I %S/Inputs/modules -fmodules -fimplicit-module-maps -fmodules-cache-path=%t.mcp4// RUN: not %clang_cc1 -fsyntax-only -include-pch %t.pch %s -I %S/Inputs/modules -fmodules -fimplicit-module-maps -fmodules-cache-path=%t.mcp -fdisable-module-hash 2> %t.err5// RUN: FileCheck -input-file=%t.err %s6 7// CHECK: error: precompiled file '{{.*}}' was compiled with module cache path {{.*}}, but the path is currently {{.*}}8@import Foo;9