Ted Kremenek | e8cf7d1 | 2012-07-07 05:53:30 +0000 | [diff] [blame] | 1 | // RUN: %clang -### -pedantic -no-pedantic %s 2>&1 | FileCheck -check-prefix=NO_PEDANTIC %s |
| 2 | // RUN: %clang -### -pedantic -Wno-pedantic %s 2>&1 | FileCheck -check-prefix=PEDANTIC %s |
| 3 | // NO_PEDANTIC-NOT: -pedantic |
| 4 | // RUN: %clang -### -pedantic -pedantic -no-pedantic -pedantic %s 2>&1 | FileCheck -check-prefix=PEDANTIC %s |
| 5 | // RUN: %clang -### -pedantic -pedantic -no-pedantic -Wpedantic %s 2>&1 | FileCheck -check-prefix=NO_PEDANTIC %s |
| 6 | // PEDANTIC: -pedantic |
| 7 | // XFAIL: cygwin,mingw32 |