comparison gcc/testsuite/gcc.dg/pr53532.c @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
comparison
equal deleted inserted replaced
68:561a7518be6b 111:04ced10e8804
1 /* PR c/53532 */
2 /* { dg-do compile } */
3 /* { dg-options "" } */
4
5 struct S {};
6 extern int foo (struct S);
7
8 int
9 main ()
10 {
11 foo ((struct T) {}); /* { dg-error "invalid use of undefined type" } */
12 return 0;
13 }