You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
1.1 KiB
19 lines
1.1 KiB
4 months ago
|
// Note: the run lines follow their respective tests, since line/column
|
||
|
// matter in this test.
|
||
|
|
||
|
@import LibA.Extensions;
|
||
|
|
||
|
// RUN: rm -rf %t
|
||
|
// 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 %s
|
||
|
// 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 %s
|
||
|
// CHECK-TOP-LEVEL: ModuleImport:{TypedText Framework} (50)
|
||
|
// CHECK-TOP-LEVEL: ModuleImport:{TypedText LibA} (50)
|
||
|
// CHECK-TOP-LEVEL: ModuleImport:{TypedText nested} (50)
|
||
|
|
||
|
// 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 %s
|
||
|
// CHECK-LIBA: ModuleImport:{TypedText Extensions} (50)
|
||
|
|
||
|
// 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 %s
|
||
|
// CHECK-TOP: NotImplemented:{TypedText @import}{HorizontalSpace }{Placeholder module} (40)
|
||
|
|