summaryrefslogtreecommitdiffstats
path: root/clang/test/Index/index-with-working-dir.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Index/index-with-working-dir.c')
-rw-r--r--clang/test/Index/index-with-working-dir.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/test/Index/index-with-working-dir.c b/clang/test/Index/index-with-working-dir.c
new file mode 100644
index 00000000000..de1f1ebe1a9
--- /dev/null
+++ b/clang/test/Index/index-with-working-dir.c
@@ -0,0 +1,5 @@
+
+void foo();
+
+// RUN: c-index-test -index-file -working-directory=%S %s | FileCheck %s
+// CHECK: [indexDeclaration]: kind: function | name: foo
OpenPOWER on IntegriCloud