foo(int a)1*1f5207b7SJohn Levon int foo(int a)
2*1f5207b7SJohn Levon {
3*1f5207b7SJohn Levon 	if (a)
4*1f5207b7SJohn Levon 		return 0;
5*1f5207b7SJohn Levon 	else
6*1f5207b7SJohn Levon 		return 1;
7*1f5207b7SJohn Levon 	return 2;
8*1f5207b7SJohn Levon }
9*1f5207b7SJohn Levon 
10*1f5207b7SJohn Levon /*
11*1f5207b7SJohn Levon  * check-name: Ignore VOID in if-convert
12*1f5207b7SJohn Levon  * check-command: test-linearize -Wno-decl $file
13*1f5207b7SJohn Levon  * check-output-ignore
14*1f5207b7SJohn Levon  *
15*1f5207b7SJohn Levon  * check-output-excludes: phisrc\\.
16*1f5207b7SJohn Levon  * check-output-excludes: phi\\.
17*1f5207b7SJohn Levon  * check-output-excludes: VOID
18*1f5207b7SJohn Levon  * check-output-contains: seteq\\.
19*1f5207b7SJohn Levon  */
20