X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fgcc.dg%2Farray-3.c;fp=gcc%2Ftestsuite%2Fgcc.dg%2Farray-3.c;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=f0709d22064b8143f3e12bc67e46eab140e65fce;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/gcc.dg/array-3.c b/gcc/testsuite/gcc.dg/array-3.c deleted file mode 100644 index f0709d22..00000000 --- a/gcc/testsuite/gcc.dg/array-3.c +++ /dev/null @@ -1,11 +0,0 @@ -/* { dg-do compile } */ -/* { dg-options "" } */ - -/* ISO C99 flexible array members don't have a size. GCC's zero-length - array extension does. */ - -struct f { int w; int x[0]; } f; -struct g { int w; int x[]; } g; - -char test_gcc[sizeof (f.x) ? -1 : 1]; -char test_iso[sizeof (g.x) ? -1 : 1]; /* { dg-error "incomplete type" "iso" } */