diff options
Diffstat (limited to 'gcc-4.8.1/gcc/testsuite/gcc.dg/redecl-7.c')
-rw-r--r-- | gcc-4.8.1/gcc/testsuite/gcc.dg/redecl-7.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/gcc-4.8.1/gcc/testsuite/gcc.dg/redecl-7.c b/gcc-4.8.1/gcc/testsuite/gcc.dg/redecl-7.c deleted file mode 100644 index 6168562ca..000000000 --- a/gcc-4.8.1/gcc/testsuite/gcc.dg/redecl-7.c +++ /dev/null @@ -1,23 +0,0 @@ -/* Test for multiple declarations and composite types. Diagnosis of - completion incompatible with implicit initializer. */ - -/* Origin: Joseph Myers <jsm@polyomino.org.uk> */ -/* { dg-do compile } */ -/* { dg-options "-g" } */ - -int x[]; - -void -f (void) -{ - extern int x[2]; /* { dg-error "completed incompatibly" } */ -} - -/* The following is OK. */ - -int y[]; -void -g (void) -{ - extern int y[1]; -} |