aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/optim/reassoc-op-op1.c
blob: aa7092ff57a095a06f3e4461f602fdca388f4e12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
int foo(int x, int *ptr)
{
	int t = x + 1;
	*ptr = t;
	return t + -1;
}

/*
 * check-name: reassoc-op-op1
 * check-command: test-linearize -Wno-decl $file
 * check-known-to-fail
 *
 * check-output-ignore
 * check-output-pattern(1): add\\.
 */