Sign in
gnu
/
gcc
/
93ac832f1846e4867aa6537f76f510fab8e3e87d
/
.
/
gcc
/
testsuite
/
gcc.dg
/
noncompile
/
undeclared-1.c
blob: 5bb7c2a4df900eb99876dca7c3f2a0f57dff8e0d [
file
] [
log
] [
blame
]
/* Test for no ICE with an undeclared identifier in an enum in old-style
parameter decls. PR 12560. */
/* { dg-options "-w" } */
foo
(
c
)
enum
{
a
=
b
}
c
;
/* { dg-error "undeclared|for each" } */
{
}