diff options
Diffstat (limited to 'test/Driver/warning-options.cpp')
-rw-r--r-- | test/Driver/warning-options.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Driver/warning-options.cpp b/test/Driver/warning-options.cpp index a36210d7e1..1a2d51d528 100644 --- a/test/Driver/warning-options.cpp +++ b/test/Driver/warning-options.cpp @@ -2,3 +2,9 @@ // LARGE_VALUE_COPY_DEFAULT: -Wlarge-by-value-copy=64 // RUN: %clang -### -Wlarge-by-value-copy=128 %s 2>&1 | FileCheck -check-prefix=LARGE_VALUE_COPY_JOINED %s // LARGE_VALUE_COPY_JOINED: -Wlarge-by-value-copy=128 + +// RUN: %clang -c -Wmonkey -Wno-monkey -Wno-unused-command-line-arguments \ +// RUN: -Wno-unused-command-line-argument %s 2>&1 | FileCheck %s +// CHECK: unknown warning option '-Wmonkey' +// CHECK: unknown warning option '-Wno-monkey' +// CHECK: unknown warning option '-Wno-unused-command-line-arguments' |