Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.other/goto2.C

raw
1 // { dg-do assemble }
2 // { dg-options "-Wunused" }
3 // Origin: Mark Mitchell <[email protected]>
4
5 struct S
6 {
7 S ();
8 ~S ();
9 };
10
11 void f ()
12 {
13 {
14 S s1;
15 int j; // { dg-warning "" } unused
16
17 t: // { dg-warning "" } unused
18 S s2;
19 }
20 }