1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
/* PR c/30552 */ /* Statement expression as formal array argument size in nested function * prototype scope is valid. */ /* { dg-do compile } */ /* { dg-options "" } */ int main() { void fun(int a[({void h(){}10;})]) { } return 0; }