array(void)1*c85f09ccSJohn Levon static int array(void)
2*c85f09ccSJohn Levon {
3*c85f09ccSJohn Levon 	int a[2];
4*c85f09ccSJohn Levon 
5*c85f09ccSJohn Levon 	a[1] = 1;
6*c85f09ccSJohn Levon 	a[0] = 0;
7*c85f09ccSJohn Levon 	return a[1];
8*c85f09ccSJohn Levon }
9*c85f09ccSJohn Levon 
sarray(void)10*c85f09ccSJohn Levon static int sarray(void)
11*c85f09ccSJohn Levon {
12*c85f09ccSJohn Levon 	struct {
13*c85f09ccSJohn Levon 		int a[2];
14*c85f09ccSJohn Levon 	} s;
15*c85f09ccSJohn Levon 
16*c85f09ccSJohn Levon 	s.a[1] = 1;
17*c85f09ccSJohn Levon 	s.a[0] = 0;
18*c85f09ccSJohn Levon 	return s.a[1];
19*c85f09ccSJohn Levon }
20*c85f09ccSJohn Levon 
21*c85f09ccSJohn Levon /*
22*c85f09ccSJohn Levon  * check-name: init local array
23*c85f09ccSJohn Levon  * check-command: test-linearize $file
24*c85f09ccSJohn Levon  * check-output-ignore
25*c85f09ccSJohn Levon  * check-output-excludes: load
26*c85f09ccSJohn Levon  * check-output-excludes: store
27*c85f09ccSJohn Levon  * check-output-pattern(2): ret.32 *\\$1
28*c85f09ccSJohn Levon  */
29