aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/mem2reg/killed-insn.c
blob: adbef9805c925900a386e3910da3dea20eb204a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
static int g;
static void foo(void)
{
	int a[2] = { };
	a;
	a[1] = g;
}

/*
 * check-name: killed-insn
 * check-command: test-linearize -fdump-ir=mem2reg $file
 *
 * check-output-ignore
 * check-output-excludes: store\\.
 */