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