From 222e2a7620e6520ffaf4fc4e69d79c18da31542e Mon Sep 17 00:00:00 2001 From: "Zancanaro; Carlo" Date: Mon, 24 Sep 2012 09:58:17 +1000 Subject: Add the clang library to the repo (with some of my changes, too). --- clang/test/Index/complete-modules.m | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 clang/test/Index/complete-modules.m (limited to 'clang/test/Index/complete-modules.m') diff --git a/clang/test/Index/complete-modules.m b/clang/test/Index/complete-modules.m new file mode 100644 index 0000000..b82430d --- /dev/null +++ b/clang/test/Index/complete-modules.m @@ -0,0 +1,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) + -- cgit v1.2.3