1 /* PR preprocessor/69543 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -Wuninitialized" } */
5 # define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN \
6 _Pragma ("GCC diagnostic push") \
7 _Pragma ("GCC diagnostic ignored \"-Wuninitialized\"")\
8 _Pragma ("GCC diagnostic ignored \"-Wmaybe-uninitialized\"")
9 # define YY_IGNORE_MAYBE_UNINITIALIZED_END \
10 _Pragma ("GCC diagnostic pop")
12 void test (char yylval
)
15 YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
17 YY_IGNORE_MAYBE_UNINITIALIZED_END