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