Jean-Daniel Dupas | 2e4fd6d | 2012-05-04 08:08:37 +0000 | [diff] [blame] | 1 | // RUN: %clang -### -Wlarge-by-value-copy %s 2>&1 | FileCheck -check-prefix=LARGE_VALUE_COPY_DEFAULT %s |
| 2 | // LARGE_VALUE_COPY_DEFAULT: -Wlarge-by-value-copy=64 |
| 3 | // RUN: %clang -### -Wlarge-by-value-copy=128 %s 2>&1 | FileCheck -check-prefix=LARGE_VALUE_COPY_JOINED %s |
| 4 | // LARGE_VALUE_COPY_JOINED: -Wlarge-by-value-copy=128 |
Chad Rosier | ff1affe | 2012-05-16 19:28:02 +0000 | [diff] [blame] | 5 | |
Benjamin Kramer | 967d833 | 2012-08-03 10:35:06 +0000 | [diff] [blame] | 6 | // RUN: %clang -### -c -Wmonkey -Wno-monkey -Wno-unused-command-line-arguments \ |
Chad Rosier | ff1affe | 2012-05-16 19:28:02 +0000 | [diff] [blame] | 7 | // RUN: -Wno-unused-command-line-argument %s 2>&1 | FileCheck %s |
| 8 | // CHECK: unknown warning option '-Wmonkey' |
| 9 | // CHECK: unknown warning option '-Wno-monkey' |
Chad Rosier | 6a1fd4a | 2012-05-16 19:42:03 +0000 | [diff] [blame] | 10 | // CHECK: unknown warning option '-Wno-unused-command-line-arguments'; did you mean '-Wno-unused-command-line-argument'? |