diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/debug/redecl-2.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/debug/redecl-2.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/gcc/testsuite/gcc.dg/debug/redecl-2.c b/gcc/testsuite/gcc.dg/debug/redecl-2.c deleted file mode 100644 index 2bf661fdcf..0000000000 --- a/gcc/testsuite/gcc.dg/debug/redecl-2.c +++ /dev/null @@ -1,24 +0,0 @@ -/* Test for multiple declarations and composite types. As in bug - 13801. Illustrates how bug causes correct code to be wrongly - diagnosed. Debug test: avoid ICE. */ -/* Origin: Joseph Myers <jsm@polyomino.org.uk> */ -/* { dg-do compile } */ -/* { dg-options "" } */ - -typedef int IA[]; -typedef int A5[5]; -typedef int A10[10]; - -A10 array10; - -A5 *ap; -void -f (void) -{ - int ap; - { - extern IA *ap; - /* This assignment is valid. */ - ap = &array10; - } -} |