diff options
Diffstat (limited to 'test/Driver/parsing.c')
-rw-r--r-- | test/Driver/parsing.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Driver/parsing.c b/test/Driver/parsing.c index 3171cb7395..c94af8e213 100644 --- a/test/Driver/parsing.c +++ b/test/Driver/parsing.c @@ -10,6 +10,11 @@ // RUN: grep 'Option 8 - Name: "-Xarch_", Values: {"joined", "AndSeparate"}' %t && // RUN: grep 'Option 9 - Name: "-sectalign", Values: {"1", "2", "3"}' %t && +// RUN: ! clang-driver -V &> %t && +// RUN: grep "error: argument to '-V' is missing (expected 1 value)" %t && +// RUN: ! clang-driver -sectalign 1 2 &> %t && +// RUN: grep "error: argument to '-sectalign' is missing (expected 3 values)" %t && + // RUN: true |