aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2011-09-23 20:35:31 +0000
committerDaniel Dunbar <daniel@zuster.org>2011-09-23 20:35:31 +0000
commit0c479e5045eca9aba0d9506020066389968f4f7c (patch)
tree7147f453b58830155244513be5e5513719e38be7
parent63bc59bf22b8f2e672fcf3904fe33993f69e006f (diff)
Driver: Test case that was supposed to go with previous commit.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140410 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Driver/working-directory.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Driver/working-directory.c b/test/Driver/working-directory.c
new file mode 100644
index 0000000000..26ae55f6fc
--- /dev/null
+++ b/test/Driver/working-directory.c
@@ -0,0 +1,3 @@
+// RUN: touch %t.h
+// RUN: echo '#include "%t.h"' > %t.c
+// RUN: %clang --working-directory %t -fsyntax-only %t.c