2012-01-30 02:15:03 +08:00
|
|
|
// Note: the run lines follow their respective tests, since line/column
|
|
|
|
// matter in this test.
|
|
|
|
|
2012-12-12 06:11:52 +08:00
|
|
|
@import LibA.Extensions;
|
2012-01-30 02:15:03 +08:00
|
|
|
|
|
|
|
// RUN: rm -rf %t
|
2013-02-08 03:01:24 +08: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-05-30 02:50:15 +08:00
|
|
|
// CHECK-TOP-LEVEL: ModuleImport:{TypedText Framework} (50)
|
|
|
|
// CHECK-TOP-LEVEL: ModuleImport:{TypedText LibA} (50)
|
|
|
|
// CHECK-TOP-LEVEL: ModuleImport:{TypedText nested} (50)
|
2012-01-30 02:15:03 +08:00
|
|
|
|
2013-02-08 03:01:24 +08: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-05-30 02:50:15 +08:00
|
|
|
// CHECK-LIBA: ModuleImport:{TypedText Extensions} (50)
|
2012-01-30 02:15:03 +08:00
|
|
|
|
2013-03-08 07:26:24 +08: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)
|
|
|
|
|