Add qdf24xx base tuning support.
[official-gcc.git] / gcc / testsuite / gcc.dg / Wcxx-compat-21.c
blob183f0f17980007f0e41db83f9a375c423ea654fe
1 /* PR c/44772 */
2 /* { dg-do compile } */
3 /* { dg-options "-Wc++-compat" } */
5 typedef enum { E1, E2 } E;
7 typedef struct
9 E e;
10 union
12 int i;
13 char *c;
14 }; /* { dg-bogus "as both field and typedef name" } */
15 } S;
17 S s;
19 typedef int T;
21 struct U
23 T t;
24 union { int i; }; /* { dg-bogus "as both field and typedef name" } */