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