diff options
Diffstat (limited to 'clang/test/Driver/ccc-add-args.c')
-rw-r--r-- | clang/test/Driver/ccc-add-args.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/test/Driver/ccc-add-args.c b/clang/test/Driver/ccc-add-args.c new file mode 100644 index 0000000..d9a16cb --- /dev/null +++ b/clang/test/Driver/ccc-add-args.c @@ -0,0 +1,5 @@ +// RUN: env CCC_ADD_ARGS="-ccc-echo,-ccc-print-options,,-v" %clang -### 2>&1 | FileCheck %s +// CHECK: Option 0 - Name: "-ccc-echo", Values: {} +// CHECK: Option 1 - Name: "-ccc-print-options", Values: {} +// CHECK: Option 2 - Name: "-v", Values: {} +// CHECK: Option 3 - Name: "-###", Values: {} |