blob: 9caea40be9c52ed2db1710b1d877632e828dafac [file] [log] [blame]
/* PR c/53532 */
/* { dg-do compile } */
/* { dg-options "" } */
struct S {};
extern int foo (struct S);
int
main ()
{
foo ((struct T) {}); /* { dg-error "invalid use of undefined type" } */
return 0;
}