Sign in
gnu
/
gcc
/
a6d3012b274f38b20e2a57162106f625746af6c6
/
.
/
gcc
/
testsuite
/
gcc.dg
/
parse-else-error-4.c
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'" } */
}
}