aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/expand/constant-init-nested-array.c
blob: 0d50d955287cdc87cce7b406674d90499754642d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
int foo(void)
{
	int a[2][3] = {{0, 1, 2},{3, 4, 5}};
	return a[1][2];
}

/*
 * check-name: constant-init-nested-array
 * check-command: test-linearize -Wno-decl -fdump-ir $file
 * check-known-to-fail
 *
 * check-output-ignore
 * check-output-contains: phisrc\\..*\\$5
 * check-output-excludes: load\\.
 */