summaryrefslogtreecommitdiffstats
path: root/test/Driver/ccc-add-args.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Driver/ccc-add-args.c')
-rw-r--r--test/Driver/ccc-add-args.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Driver/ccc-add-args.c b/test/Driver/ccc-add-args.c
new file mode 100644
index 0000000..b504b0b4
--- /dev/null
+++ b/test/Driver/ccc-add-args.c
@@ -0,0 +1,3 @@
+// RUN: env CCC_ADD_ARGS="-ccc-echo,-ccc-print-options,,-v" clang -### 2> %t &&
+// RUN: grep -F 'Option 0 - Name: "-v", Values: {}' %t &&
+// RUN: grep -F 'Option 1 - Name: "-###", Values: {}' %t
OpenPOWER on IntegriCloud