• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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: PCH was compiled with module cache path {{.*}}, but the path is currently {{.*}}
8@import Foo;
9