diff options
Diffstat (limited to 'clang/test/Index/preamble-with-implicit-import.m')
| -rw-r--r-- | clang/test/Index/preamble-with-implicit-import.m | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/test/Index/preamble-with-implicit-import.m b/clang/test/Index/preamble-with-implicit-import.m new file mode 100644 index 00000000000..e3d0e8b1a62 --- /dev/null +++ b/clang/test/Index/preamble-with-implicit-import.m @@ -0,0 +1,6 @@ +// RUN: rm -rf %t +// RUN: env CINDEXTEST_EDITING=1 c-index-test -test-load-source-reparse 2 none %s -I %S/Inputs -fmodules -fmodules-cache-path=%t -fspell-checking 2>&1 | FileCheck %s +// CHECK: error: declaration of 'Typo' must be imported +// CHECK: error: declaration of 'Typo' must be imported + +#include "preamble-with-implicit-import.h" |

