]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.other/goto1.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / goto1.C
diff --git a/gcc/testsuite/g++.old-deja/g++.other/goto1.C b/gcc/testsuite/g++.old-deja/g++.other/goto1.C
deleted file mode 100644 (file)
index 0839ee5..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-// Build don't link:
-// Origin: Mark Mitchell <mark@codesourcery.com>
-
-struct S
-{
-  S ();
-  ~S ();
-};
-
-void f ()
-{
-  {
-    S s1; // ERROR - skips initialization
-  
-  t:     // ERROR - jump to label
-    S s2;
-    ;
-  }
-
-  goto t; // ERROR - from here
-}