clang/test/Driver/fdiagnostics-show-option.c
raw| 1 | /// -fdiagnostics-show-option is the default |
| 2 | // RUN: %clang -### -c %s 2>&1 | FileCheck --check-prefix=ENABLED %s |
| 3 | // ENABLED-NOT: "-fno-diagnostics-show-option" |
| 4 | |
| 5 | // RUN: %clang -### -c %s -fdiagnostics-show-option -fno-diagnostics-show-option 2>&1 | \ |
| 6 | // RUN: FileCheck --check-prefix=DISABLED %s |
| 7 | // DISABLED: "-fno-diagnostics-show-option" |