1 /* PR c/108043 */
2 /* { dg-do compile } */
3 /* { dg-options "" } */
4
5 typedef void F (void);
6
7 void
8 foo (void)
9 {
10 (F) {}; /* { dg-error "compound literal has function type" } */
11 (F) { foo }; /* { dg-error "compound literal has function type" } */
12 }