diff options
Diffstat (limited to 'gcc-4.8.1/gcc/testsuite/gcc.dg/pr51034.c')
-rw-r--r-- | gcc-4.8.1/gcc/testsuite/gcc.dg/pr51034.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/gcc-4.8.1/gcc/testsuite/gcc.dg/pr51034.c b/gcc-4.8.1/gcc/testsuite/gcc.dg/pr51034.c deleted file mode 100644 index c9b9c27c9..000000000 --- a/gcc-4.8.1/gcc/testsuite/gcc.dg/pr51034.c +++ /dev/null @@ -1,14 +0,0 @@ -/* PR c/51034 */ -/* { dg-do compile } */ -/* { dg-options "-std=gnu99" } */ - -struct S; - -int -main () -{ - struct R { typeof (((struct W) {})) x; } r; /* { dg-error "invalid use of undefined type" } */ - struct S { typeof (((struct S) {})) x; } s; /* { dg-error "invalid use of undefined type" } */ - struct T { int x[sizeof ((struct T) {})]; } t;/* { dg-error "invalid use of undefined type" } */ - struct U { int x[sizeof((struct V){})];} u; /* { dg-error "invalid use of undefined type" } */ -} |