1*c85f09ccSJohn Levon struct s {
2*c85f09ccSJohn Levon 	int a;
3*c85f09ccSJohn Levon 	int b;
4*c85f09ccSJohn Levon };
5*c85f09ccSJohn Levon 
f0(void)6*c85f09ccSJohn Levon int f0(void)
7*c85f09ccSJohn Levon {
8*c85f09ccSJohn Levon 	struct s s;
9*c85f09ccSJohn Levon 
10*c85f09ccSJohn Levon 	s.a = 0;
11*c85f09ccSJohn Levon 	s.b = 1;
12*c85f09ccSJohn Levon 
13*c85f09ccSJohn Levon 	return s.a;
14*c85f09ccSJohn Levon }
15*c85f09ccSJohn Levon 
f1(void)16*c85f09ccSJohn Levon int f1(void)
17*c85f09ccSJohn Levon {
18*c85f09ccSJohn Levon 	struct s s;
19*c85f09ccSJohn Levon 
20*c85f09ccSJohn Levon 	s.a = 1;
21*c85f09ccSJohn Levon 	s.b = 0;
22*c85f09ccSJohn Levon 
23*c85f09ccSJohn Levon 	return s.b;
24*c85f09ccSJohn Levon }
25*c85f09ccSJohn Levon 
26*c85f09ccSJohn Levon /*
27*c85f09ccSJohn Levon  * check-name: struct
28*c85f09ccSJohn Levon  * check-command: test-linearize -Wno-decl $file
29*c85f09ccSJohn Levon  *
30*c85f09ccSJohn Levon  * check-output-ignore
31*c85f09ccSJohn Levon  * check-output-pattern(2): ret.32 *\\$0
32*c85f09ccSJohn Levon  */
33