| 1 |
// RUN: rm -rf %t.mcp |
| 2 |
// RUN: rm -rf %t.err |
| 3 |
// RUN: %clang_cc1 -emit-pch -o %t.pch %s -I %S/Inputs/modules -fmodules -fimplicit-module-maps -fmodules-cache-path=%t.mcp |
| 4 |
// 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.err |
| 5 |
// RUN: FileCheck -input-file=%t.err %s |
| 6 |
|
| 7 |
// CHECK: error: precompiled file '{{.*}}' cannot be loaded due to a configuration mismatch with the current compilation |
| 8 |
@import Foo; |