aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/mem2reg/cond-expr.c
blob: 2474d65d8c646e8d65f95f302a4752c625c7ea57 (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(1): phi\\.
 * check-output-pattern(2): phisrc\\.
 */