summaryrefslogtreecommitdiff
path: root/clang/test/Driver/working-directory.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Driver/working-directory.c')
-rw-r--r--clang/test/Driver/working-directory.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/test/Driver/working-directory.c b/clang/test/Driver/working-directory.c
new file mode 100644
index 0000000..38a87a6
--- /dev/null
+++ b/clang/test/Driver/working-directory.c
@@ -0,0 +1,4 @@
+// RUN: %clang -ccc-print-options -working-directory "C:\Test" input 2>&1 | FileCheck %s
+// CHECK: Option 0 - Name: "-ccc-print-options", Values: {}
+// CHECK: Option 1 - Name: "-working-directory", Values: {"C:\Test"}
+// CHECK: Option 2 - Name: "<input>", Values: {"input"}