summaryrefslogtreecommitdiffstats
path: root/clang/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
commit7ec3c09412c2bee91e8fb7103da10c46d0e03f2d (patch)
tree11e5eb97eaea0427247ca7085229b84698f2737e /clang/test/Index/index-with-working-dir.c
parent9ed6ae5ee0688bcc64bf632ee0c929e92d5c203f (diff)
downloadbcm5719-llvm-7ec3c09412c2bee91e8fb7103da10c46d0e03f2d.tar.gz
bcm5719-llvm-7ec3c09412c2bee91e8fb7103da10c46d0e03f2d.zip
[options] Fix mishandling of aliased options that was introduced in r166444.
llvm-svn: 166801
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