]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/gcc.dg/noncompile/20020220-1.c
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / gcc.dg / noncompile / 20020220-1.c
diff --git a/gcc/testsuite/gcc.dg/noncompile/20020220-1.c b/gcc/testsuite/gcc.dg/noncompile/20020220-1.c
deleted file mode 100644 (file)
index c455f7e..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-/* PR c++/5713
-   Test that there are no ICEs after redeclaration error.  */
-
-int foo (const char*, const char*);
-
-void bar (void)
-{
-  const char *s = "bar";
-  int i;                       /* { dg-error "previously declared here" } */
-  int size = 2;
-  int i = foo (s, s + size);   /* { dg-error "redeclaration of" } */
-}