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

/*
 * check-name: simplify-same-add-subr
 * check-command: test-linearize -Wno-decl $file
 * check-known-to-fail
 *
 * check-output-start
add_subr:
.L0:
	<entry-point>
	ret.32      %arg1


 * check-output-end
 */