diff options
Diffstat (limited to 'test/Index/complete-module-undef.m')
-rw-r--r-- | test/Index/complete-module-undef.m | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/Index/complete-module-undef.m b/test/Index/complete-module-undef.m new file mode 100644 index 0000000..a9dd000 --- /dev/null +++ b/test/Index/complete-module-undef.m @@ -0,0 +1,8 @@ +// RUN: rm -rf %t +// RUN: env CINDEXTEST_COMPLETION_CACHING=1 \ +// RUN: c-index-test -test-load-source-reparse 2 local %s -fmodules -fmodules-cache-path=%t -I %S/Inputs \ +// RUN: | FileCheck %s + +// rdar://18416901 (used to crash) +// CHECK: complete-module-undef.m:8:1: ModuleImport=ModuleUndef:8:1 (Definition) Extent=[8:1 - 8:20] +@import ModuleUndef; |