blob: 4dbf92d12bacad2b83494da38808d7654465e9ee [file] [log] [blame]
Filipe Cabecinhasd0c64682015-02-12 03:37:55 +00001// 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 Kremenekb22ea2a2012-07-07 05:53:30 +00007// NO_PEDANTIC-NOT: -pedantic
Filipe Cabecinhasd0c64682015-02-12 03:37:55 +00008// 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 Kremenekb22ea2a2012-07-07 05:53:30 +000010// PEDANTIC: -pedantic
NAKAMURA Takumi556d7132012-12-11 07:06:09 +000011// REQUIRES: clang-driver
Filipe Cabecinhasd0c64682015-02-12 03:37:55 +000012
13// DELIMITERS: {{^ *"}}