llvm-for-llvmta/tools/clang/test/Driver/fdiagnostics-show-option.c

8 lines
343 B
C
Raw Normal View History

2022-04-25 13:02:35 +02:00
/// -fdiagnostics-show-option is the default
// RUN: %clang -### -c %s 2>&1 | FileCheck --check-prefix=ENABLED %s
// ENABLED-NOT: "-fno-diagnostics-show-option"
// RUN: %clang -### -c %s -fdiagnostics-show-option -fno-diagnostics-show-option 2>&1 | \
// RUN: FileCheck --check-prefix=DISABLED %s
// DISABLED: "-fno-diagnostics-show-option"