1// RUN: rm -rf %t
2// RUN: env CINDEXTEST_COMPLETION_CACHING=1 \
3// RUN:     c-index-test -test-load-source-reparse 2 local %s -fmodules -fmodules-cache-path=%t -I %S/Inputs \
4// RUN:   | FileCheck %s
5
6// rdar://18416901 (used to crash)
7// CHECK: complete-module-undef.m:8:1: ModuleImport=ModuleUndef:8:1 (Definition) Extent=[8:1 - 8:20]
8@import ModuleUndef;
9