Filipe Cabecinhas | d0c6468 | 2015-02-12 03:37:55 +0000 | [diff] [blame] | 1 | // Make sure we don't match the -NOT lines with the linker invocation. |
| 2 | // Delimiters match the start of the cc1 and the start of the linker lines |
| 3 | // DELIMITERS: {{^ *"}} |
| 4 | |
| 5 | // RUN: %clang -### -pedantic -no-pedantic %s 2>&1 | FileCheck -check-prefix=NO_PEDANTIC -check-prefix=DELIMITERS %s |
| 6 | // RUN: %clang -### -pedantic -Wno-pedantic %s 2>&1 | FileCheck -check-prefix=PEDANTIC -check-prefix=DELIMITERS %s |
Ted Kremenek | b22ea2a | 2012-07-07 05:53:30 +0000 | [diff] [blame] | 7 | // NO_PEDANTIC-NOT: -pedantic |
Filipe Cabecinhas | d0c6468 | 2015-02-12 03:37:55 +0000 | [diff] [blame] | 8 | // RUN: %clang -### -pedantic -pedantic -no-pedantic -pedantic %s 2>&1 | FileCheck -check-prefix=PEDANTIC -check-prefix=DELIMITERS %s |
| 9 | // RUN: %clang -### -pedantic -pedantic -no-pedantic -Wpedantic %s 2>&1 | FileCheck -check-prefix=NO_PEDANTIC -check-prefix=DELIMITERS %s |
Ted Kremenek | b22ea2a | 2012-07-07 05:53:30 +0000 | [diff] [blame] | 10 | // PEDANTIC: -pedantic |
NAKAMURA Takumi | 556d713 | 2012-12-11 07:06:09 +0000 | [diff] [blame] | 11 | // REQUIRES: clang-driver |
Filipe Cabecinhas | d0c6468 | 2015-02-12 03:37:55 +0000 | [diff] [blame] | 12 | |
| 13 | // DELIMITERS: {{^ *"}} |