aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/optim/cse-fcmp.c
blob: f2a73f57fc1d8d0a412be9d2b9e8ba948ae75e2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
extern void fun(void);

int foo(double a, double b)
{
	if (a < b)
		fun();
	if (a < b)
		return 1;

	return 0;
}

/*
 * check-name: cse-fcmp
 * check-command: test-linearize -Wno-decl $file
 *
 * check-output-ignore
 * check-output-pattern(1): fcmp
 */