X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.other%2Fgoto1.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.other%2Fgoto1.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=0839ee5e1427097bb758dc1aae1b6fc9990d3c45;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git 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 index 0839ee5e..00000000 --- a/gcc/testsuite/g++.old-deja/g++.other/goto1.C +++ /dev/null @@ -1,21 +0,0 @@ -// Build don't link: -// Origin: Mark Mitchell - -struct S -{ - S (); - ~S (); -}; - -void f () -{ - { - S s1; // ERROR - skips initialization - - t: // ERROR - jump to label - S s2; - ; - } - - goto t; // ERROR - from here -}