Sign in
gnu
/
gcc
/
251a817e23053b543f04f101c675f5513bbb1865
/
.
/
gcc
/
testsuite
/
gcc.dg
/
noncompile
/
20020130-1.c
blob: d820e062e719289abc8d3e0ea30208c1c4a927ab [
file
] [
log
] [
blame
]
/* Test for ICE when using typedef for bad type. */
/* Origin: Joseph Myers <jsm28@cam.ac.uk>. */
void
foo
(
void
)
{
typedef
int
t
[
x
];
/* { dg-error "undeclared|function" "x undeclared" } */
t bar
;
}