blob: 617c3f3e3f00cf0760cdbef1dd79a1d2f418e6e2 [file] [log] [blame]
/* PR 23722 */
/* { dg-do compile } */
/* { dg-options "-fsyntax-only" } */
int f()
{
if (1)
{
return 1;
}
else
{
else; /* { dg-error "'else' without a previous 'if'" } */
}
}