aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/mem2reg/cond-expr.c
blob: 8acb00ac950f897853deb569ff3d7aa489b61af3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
int fun(int);

int foo(int a, int b, int c)
{
	return a ? fun(b) : fun(c);
}

/*
 * check-name: cond-expr
 * check-command: test-linearize -Wno-decl -fdump-ir=mem2reg $file
 * check-output-ignore
 * check-output-pattern(2): phi\\.
 * check-output-pattern(3): phisrc\\.
 */