1 /* Test diagnostics for variably modified function return types. PR
3 /* { dg-do compile } */
4 /* { dg-options "-std=c99" } */
12 extern T
*g1 (void); /* { dg-error "non-nested function with variably modified type" } */
18 extern int (*g2 (void))[a
]; /* { dg-error "non-nested function with variably modified type" } */
25 T
*g3 (void); /* { dg-error "non-nested function with variably modified type" } */
31 int (*g4 (void))[a
]; /* { dg-error "non-nested function with variably modified type" } */