rt_gccstream/gcc/testsuite/g++.dg/torture/pr42739.C

17 lines
154 B
C

/* { dg-do compile } */
struct s { ~s() { s(); } };
int f()
{
M:
s o = s();
f();
f();
L:
goto *(f() ? &&L : &&M);
return 0;
}