xref: /llvm-project/clang/test/Driver/print-diagnostic-options.c (revision 288c1bff96fc9042d01b7055dc6e1049d8b54b26)
1*288c1bffSChristopher Di Bella // Test that -print-diagnostic-options prints warning groups and disablers
2*288c1bffSChristopher Di Bella 
3*288c1bffSChristopher Di Bella // RUN: %clang -print-diagnostic-options | FileCheck %s
4*288c1bffSChristopher Di Bella 
5*288c1bffSChristopher Di Bella // CHECK:  -W
6*288c1bffSChristopher Di Bella // CHECK:  -Wno-
7*288c1bffSChristopher Di Bella // CHECK:  -W#pragma-messages
8*288c1bffSChristopher Di Bella // CHECK:  -Wno-#pragma-messages
9*288c1bffSChristopher Di Bella // CHECK:  -W#warnings
10*288c1bffSChristopher Di Bella // CHECK:  -Wabi
11*288c1bffSChristopher Di Bella // CHECK:  -Wno-abi
12*288c1bffSChristopher Di Bella // CHECK:  -Wall
13*288c1bffSChristopher Di Bella // CHECK:  -Wno-all
14