summaryrefslogtreecommitdiffstats
path: root/gcc/testsuite/gcc.dg/20011008-1.c
blob: e5c9e2cf0ee039a5c0cd8ceead4dac400978c293 (plain)
1
2
3
4
5
6
7
8
/* { dg-do compile } */
/* { dg-options "-O0" } */

struct { int; int q; } a; /* { dg-warning "does not declare anything" } */
struct { union {int x;}; int q; } b;
struct { struct {int x;}; int q; } c;
union { union {int x;}; int q; } d;
union { struct {int x;}; int q; } e;
OpenPOWER on IntegriCloud