1 /* { dg-options "-Wuninitialized" } */
3 /* Verify disabling a warning, where both the _Pragma and the
4 affected code are *not* in a macro. */
6 void test (char yylval
)
9 _Pragma ("GCC diagnostic push")
10 _Pragma ("GCC diagnostic ignored \"-Wuninitialized\"")
11 _Pragma ("GCC diagnostic ignored \"-Wmaybe-uninitialized\"")
13 _Pragma ("GCC diagnostic pop")