blob: 21f0e4bafe8901ab281bdf2e8cb6e37448bb9319 [file] [log] [blame]
Douglas Gregor07f43572012-01-29 18:15:03 +00001// Note: the run lines follow their respective tests, since line/column
2// matter in this test.
3
Douglas Gregorc50d4922012-12-11 22:11:52 +00004@import LibA.Extensions;
Douglas Gregor07f43572012-01-29 18:15:03 +00005
6// RUN: rm -rf %t
Douglas Gregor35b04d62013-02-07 19:01:24 +00007// 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
Argyrios Kyrtzidisa3e2ff12015-11-20 03:36:21 +00008// 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
Argyrios Kyrtzidis345d05f2013-05-29 18:50:15 +00009// CHECK-TOP-LEVEL: ModuleImport:{TypedText Framework} (50)
10// CHECK-TOP-LEVEL: ModuleImport:{TypedText LibA} (50)
11// CHECK-TOP-LEVEL: ModuleImport:{TypedText nested} (50)
Douglas Gregor07f43572012-01-29 18:15:03 +000012
Douglas Gregor35b04d62013-02-07 19:01:24 +000013// 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
Argyrios Kyrtzidis345d05f2013-05-29 18:50:15 +000014// CHECK-LIBA: ModuleImport:{TypedText Extensions} (50)
Douglas Gregor07f43572012-01-29 18:15:03 +000015
Douglas Gregor61e36812013-03-07 23:26:24 +000016// 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
17// CHECK-TOP: NotImplemented:{TypedText @import}{HorizontalSpace }{Placeholder module} (40)
18