aboutsummaryrefslogtreecommitdiff
path: root/tests/1.qbt
blob: e87fddcbcccc602b640d79355cd2a3364652e1e1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
do_stuff (i27 a0, i27 a1)
{
	i27 r0 = a0 + a1;
	i27 r1 = a0 - a1;
	=> (r0, r1);
}

/* this is a function of some kind */
main (i27 a0, i27 a1)
{
	i27 r0 = a0 + a1;
	/* r0 is reassigned */
	&do_stuff (r0, i9 29) => (r0, r1);
	r0 < r1 -> somewhere_else;
	=> (r1);

	somewhere_else:
	=> (r0);
}