Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/pr89045.c @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | |
children |
line wrap: on
line source
/* PR c/89045 */ /* { dg-do compile } */ /* { dg-require-effective-target alloca } */ /* { dg-options "" } */ int foo (int x) { int v[(int){ x }]; v[0] = 0; int bar (int p[(int){ x }]) { return p[0]; } return bar (v); }