summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr94842.c
blob: 33d9d42644c3c5bb3d6c3c7cbcf855f1b56e3a73 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* PR c/94842 */
/* { dg-do compile } */
/* { dg-options "" } */

_Atomic float x = 5;

void
foo (void)
{
  void bar (float y[(int) (x += 2)]) {}
}