aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/vla-stexp-3.c
blob: e663de1cd722b3a450bbe570907c071dc0bd5e77 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* PR91038 */
/* { dg-do compile } */
/* { dg-options "" } */


void bar(void)
{
	({ int N = 2; int (*x)[9][N] = 0; x; })[1];
	({ int N = 2; int (*x)[9][N] = 0; x; })[0];	// should not ice
}