aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/noncompile/pr30552-4.c
blob: d1f9c6b083afed5d3d364a4100cb6c622597e080 (plain)
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;
}