aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/optim/simplify-same-add-subl.c
blob: 394e7dc5a404504676d4c2b72d9698263db8450b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
int add_subl(int x, int y) { return (x + y) - x; }

/*
 * check-name: simplify-same-add-subl
 * check-command: test-linearize -Wno-decl $file
 *
 * check-output-start
add_subl:
.L0:
	<entry-point>
	ret.32      %arg2


 * check-output-end
 */