/* Test for ICE when using typedef for bad type. */ /* Origin: Joseph Myers . */ void foo (void) { typedef int t[x]; /* { dg-error "undeclared|function" "x undeclared" } */ t bar; }