| 1 |
// REQUIRES: symlinks |
| 2 |
|
| 3 |
// RUN: rm -rf %t |
| 4 |
// RUN: %clang_cc1 -fmodules-cache-path=%t/modules -fmodules -fimplicit-module-maps -I %S/Inputs -emit-pch -o %t.pch %s -verify |
| 5 |
|
| 6 |
// RUN: ln -s %t/modules %t/modules.symlink |
| 7 |
// RUN: %clang_cc1 -fmodules-cache-path=%t/modules.symlink -fmodules -fimplicit-module-maps -I %S/Inputs -include-pch %t.pch %s -verify |
| 8 |
// RUN: not %clang_cc1 -fmodules-cache-path=%t/modules.dne -fmodules -fimplicit-module-maps -I %S/Inputs -include-pch %t.pch %s -verify |
| 9 |
|
| 10 |
// expected-no-diagnostics |
| 11 |
|
| 12 |
@import ignored_macros; |
| 13 |
|
| 14 |
struct Point p; |