foo(int ** g,int j)1*c85f09ccSJohn Levon int foo(int **g, int j)
2*c85f09ccSJohn Levon {
3*c85f09ccSJohn Levon 	int i = 1;
4*c85f09ccSJohn Levon 	int *a;
5*c85f09ccSJohn Levon 	int **p;
6*c85f09ccSJohn Levon 
7*c85f09ccSJohn Levon 	a = &i;
8*c85f09ccSJohn Levon 	p = &a;
9*c85f09ccSJohn Levon 	*p[0] = 0;
10*c85f09ccSJohn Levon 	return i;
11*c85f09ccSJohn Levon }
12*c85f09ccSJohn Levon 
13*c85f09ccSJohn Levon /*
14*c85f09ccSJohn Levon  * check-name: address-used01
15*c85f09ccSJohn Levon  * check-command: test-linearize -Wno-decl -fdump-ir=final $file
16*c85f09ccSJohn Levon  * check-output-ignore
17*c85f09ccSJohn Levon  * check-output-contains: ret\\..* \\$0
18*c85f09ccSJohn Levon  */
19