summaryrefslogtreecommitdiffstats
path: root/test/Index/complete-modules.m
blob: b82430db9dbb79e414359c53b32dfa28121fc4f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Note: the run lines follow their respective tests, since line/column
// matter in this test.

@__experimental_modules_import LibA.Extensions;

// RUN: rm -rf %t
// RUN: c-index-test -code-completion-at=%s:4:32 -fmodule-cache-path %t -fmodules -F %S/Inputs/Frameworks -I %S/Inputs/Headers %s | FileCheck -check-prefix=CHECK-TOP-LEVEL %s
// CHECK-TOP-LEVEL: NotImplemented:{TypedText Framework} (50)
// CHECK-TOP-LEVEL: NotImplemented:{TypedText LibA} (50)
// CHECK-TOP-LEVEL: NotImplemented:{TypedText nested} (50)

// RUN: c-index-test -code-completion-at=%s:4:37 -fmodule-cache-path %t -fmodules -F %S/Inputs/Frameworks -I %S/Inputs/Headers %s | FileCheck -check-prefix=CHECK-LIBA %s
// CHECK-LIBA: NotImplemented:{TypedText Extensions} (50)