2012-04-14 14:01:31 +00:00
|
|
|
// Note: the run lines follow their respective tests, since line/column
|
|
|
|
// matter in this test.
|
|
|
|
|
2013-04-08 18:45:10 +00:00
|
|
|
@import LibA.Extensions;
|
2012-04-14 14:01:31 +00:00
|
|
|
|
|
|
|
// RUN: rm -rf %t
|
2013-04-08 18:45:10 +00:00
|
|
|
// 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
|
2013-12-22 00:07:40 +00:00
|
|
|
// CHECK-TOP-LEVEL: ModuleImport:{TypedText Framework} (50)
|
|
|
|
// CHECK-TOP-LEVEL: ModuleImport:{TypedText LibA} (50)
|
|
|
|
// CHECK-TOP-LEVEL: ModuleImport:{TypedText nested} (50)
|
2012-04-14 14:01:31 +00:00
|
|
|
|
2013-04-08 18:45:10 +00:00
|
|
|
// 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
|
2013-12-22 00:07:40 +00:00
|
|
|
// CHECK-LIBA: ModuleImport:{TypedText Extensions} (50)
|
2012-04-14 14:01:31 +00:00
|
|
|
|
2013-04-08 18:45:10 +00:00
|
|
|
// 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)
|
|
|
|
|