19 lines · plain
1// Note: the run lines follow their respective tests, since line/column2// matter in this test.3 4@import LibA.Extensions;5 6// RUN: rm -rf %t7// RUN: c-index-test -code-completion-at=%s:4:9 -fmodules-cache-path=%t -fmodules -F %S/Inputs/Frameworks -I %S/Inputs/Headers %s | FileCheck -check-prefix=CHECK-TOP-LEVEL %s8// RUN: c-index-test -code-completion-at=%s:4:9 -fmodules-cache-path=%t -fmodules -gmodules -F %S/Inputs/Frameworks -I %S/Inputs/Headers %s | FileCheck -check-prefix=CHECK-TOP-LEVEL %s9// CHECK-TOP-LEVEL: ModuleImport:{TypedText Framework} (50)10// CHECK-TOP-LEVEL: ModuleImport:{TypedText LibA} (50)11// CHECK-TOP-LEVEL: ModuleImport:{TypedText nested} (50)12 13// RUN: c-index-test -code-completion-at=%s:4:14 -fmodules-cache-path=%t -fmodules -F %S/Inputs/Frameworks -I %S/Inputs/Headers %s | FileCheck -check-prefix=CHECK-LIBA %s14// CHECK-LIBA: ModuleImport:{TypedText Extensions} (50)15 16// RUN: c-index-test -code-completion-at=%s:4:1 -fmodules-cache-path=%t -fmodules -F %S/Inputs/Frameworks -I %S/Inputs/Headers %s | FileCheck -check-prefix=CHECK-TOP %s17// CHECK-TOP: NotImplemented:{TypedText @import}{HorizontalSpace }{Placeholder module} (40)18 19