summaryrefslogtreecommitdiffstats
path: root/test/Index/index-with-working-dir.c
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2012-10-26 19:36:33 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2012-10-26 19:36:33 +0000
commita049bbb3441010880486b82a7d0d284ab9afc4c9 (patch)
tree94860a5cd5e469aa9da49b7ef6fc45a5a9867024 /test/Index/index-with-working-dir.c
parent34f8597973b8ed59da43cdd5c801dc073011e3a5 (diff)
[options] Fix mishandling of aliased options that was introduced in r166444.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166801 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Index/index-with-working-dir.c')
-rw-r--r--test/Index/index-with-working-dir.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Index/index-with-working-dir.c b/test/Index/index-with-working-dir.c
new file mode 100644
index 0000000000..de1f1ebe1a
--- /dev/null
+++ b/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