Debian Codegraph @

gcc/testsuite/gcc.dg/cpp/_Pragma7.c

raw
1 /*
2 Origin: PR preprocessor/53469
3 { dg-do compile }
4 */
5
6 #define STRINGIFY(x) #x
7 #define TEST(x) \
8 _Pragma(STRINGIFY(GCC diagnostic ignored "-Wunused-local-typedefs")) \
9 typedef int myint;
10
11 void bar ()
12 {
13 TEST(myint)
14 }