Sign in
gnu
/
gcc
/
a6d3012b274f38b20e2a57162106f625746af6c6
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
goto1.C
blob: 9a9ba8be7d234275e977f04871b4e6a8725fadba [
file
] [
log
] [
blame
]
// { dg-do assemble }
// Origin: Mark Mitchell <mark@codesourcery.com>
struct
S
{
S
();
~
S
();
};
void
f
()
{
{
S s1
;
// { dg-message "" } skips initialization
t
:
// { dg-error "" } jump to label
S s2
;
;
}
goto
t
;
// { dg-message "" } from here
}