aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/mem2reg/address-used00.c
blob: 1501bc1ca28477279d711541594af3c17a022901 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
int foo(int **g, int j)
{
	int i = 1;
	int *a;
	int **p;

	a = &i;
	p = &a;
	*p[0] = 0;
	return i;
}

/*
 * check-name: address-used00
 * check-command: test-linearize -Wno-decl -fdump-ir=final $file
 * check-output-ignore
 * check-output-excludes: ret\\..* \\$1
 */