blob: 7d5ff374a6c50847eb67d7818f38c0756e42c97b [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-fgimple" } */
__GIMPLE() void fn1()
{
if (1)
goto
else /* { dg-error "expected label" } */
goto lbl;
}
__GIMPLE() void fn2()
{
if (1)
goto lbl;
else
goto ; /* { dg-error "expected label" } */
}
__GIMPLE() void fn3()
{
if (1)
goto lbl;
else
goto
} /* { dg-error "expected label" } */