1*f4a2713aSLionel Sambuc // RUN: %clang -### -pedantic -no-pedantic %s 2>&1 | FileCheck -check-prefix=NO_PEDANTIC %s 2*f4a2713aSLionel Sambuc // RUN: %clang -### -pedantic -Wno-pedantic %s 2>&1 | FileCheck -check-prefix=PEDANTIC %s 3*f4a2713aSLionel Sambuc // NO_PEDANTIC-NOT: -pedantic 4*f4a2713aSLionel Sambuc // RUN: %clang -### -pedantic -pedantic -no-pedantic -pedantic %s 2>&1 | FileCheck -check-prefix=PEDANTIC %s 5*f4a2713aSLionel Sambuc // RUN: %clang -### -pedantic -pedantic -no-pedantic -Wpedantic %s 2>&1 | FileCheck -check-prefix=NO_PEDANTIC %s 6*f4a2713aSLionel Sambuc // PEDANTIC: -pedantic 7*f4a2713aSLionel Sambuc // REQUIRES: clang-driver 8