diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/20011008-1.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/20011008-1.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/20011008-1.c b/gcc/testsuite/gcc.dg/20011008-1.c new file mode 100644 index 000000000..e3991471a --- /dev/null +++ b/gcc/testsuite/gcc.dg/20011008-1.c @@ -0,0 +1,8 @@ +/* { dg-do compile } */ +/* { dg-options "-O0 -fshow-column" } */ + +struct { int; int q; } a; /* { dg-warning "13: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; |