3 #pragma GCC warning "warn-a" // { dg-warning warn-a }
4 #pragma GCC error "err-b" // { dg-error err-b }
6 #define CONST1 _Pragma("GCC warning \"warn-c\"") 1
7 #define CONST2 _Pragma("GCC error \"err-d\"") 2
9 char a
[CONST1
]; // { dg-warning warn-c }
10 char b
[CONST2
]; // { dg-error err-d }