diff options
Diffstat (limited to 'test/Driver/diagnostics.c')
-rw-r--r-- | test/Driver/diagnostics.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/Driver/diagnostics.c b/test/Driver/diagnostics.c new file mode 100644 index 0000000000..1330041ae4 --- /dev/null +++ b/test/Driver/diagnostics.c @@ -0,0 +1,9 @@ +// Parse diagnostic arguments in the driver +// PR12181 + +// RUN: !%clang -target x86_64-apple-darwin10 \ +// RUN: -fsyntax-only -fzyzzybalubah \ +// RUN: -Werror=unused-command-line-argument %s + +// RUN: !%clang -target x86_64-apple-darwin10 \ +// RUN: -fsyntax-only -fzyzzybalubah -Werror %s |