diff options
Diffstat (limited to 'gcc-4.8.1/gcc/testsuite/gcc.dg/vla-18.c')
-rw-r--r-- | gcc-4.8.1/gcc/testsuite/gcc.dg/vla-18.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/gcc-4.8.1/gcc/testsuite/gcc.dg/vla-18.c b/gcc-4.8.1/gcc/testsuite/gcc.dg/vla-18.c deleted file mode 100644 index c60069cfd..000000000 --- a/gcc-4.8.1/gcc/testsuite/gcc.dg/vla-18.c +++ /dev/null @@ -1,9 +0,0 @@ -/* Test diagnostics for VLA whose size folds to an integer constant at - file scope; the diagnostic should be a pedwarn. PR 39605. */ -/* { dg-do compile } */ -/* { dg-options "-std=c99 -pedantic-errors" } */ - -#define FIRST ((char*)0x80) -#define LAST ((char*)0x86) - -static int b[LAST-FIRST]; /* { dg-error "variably modified 'b' at file scope" } */ |