xref: /illumos-gate/usr/src/tools/smatch/src/validation/mem2reg/cond-expr.c (revision b531f6d16eb39863e7bbc34773fb7ef7a282a0a2)
1 int fun(int);
2 
3 int foo(int a, int b, int c)
4 {
5 	return a ? fun(b) : fun(c);
6 }
7 
8 /*
9  * check-name: cond-expr
10  * check-command: test-linearize -Wno-decl -fdump-ir=mem2reg $file
11  * check-output-ignore
12  * check-output-pattern(2): phi\\.
13  * check-output-pattern(3): phisrc\\.
14  */
15