1 // { dg-do assemble } 2 // Origin: Mark Mitchell <mark@codesourcery.com> 3 4 struct S 5 { 6 S (); 7 ~S (); 8 }; 9 f()10void f () 11 { 12 { 13 S s1; // { dg-message "" } skips initialization 14 15 t: // { dg-error "" } jump to label 16 S s2; 17 ; 18 } 19 20 goto t; // { dg-message "" } from here 21 } 22