PR tree-optimization/81303
[official-gcc.git] / gcc / testsuite / gcc.dg / pr53532.c
blob9caea40be9c52ed2db1710b1d877632e828dafac
1 /* PR c/53532 */
2 /* { dg-do compile } */
3 /* { dg-options "" } */
5 struct S {};
6 extern int foo (struct S);
8 int
9 main ()
11 foo ((struct T) {}); /* { dg-error "invalid use of undefined type" } */
12 return 0;