projects
/
mate.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
codegen: fix bug in calling conv
[mate.git]
/
tests
/
CallConv1.java
1
package tests;
2
3
public class CallConv1 {
4
public static void main(String []args) {
5
int sum = 0;
6
sum += manyVars(0x1348);
7
id(sum); // 0x1337
8
}
9
10
public static int id(int a) {
11
return a;
12
}
13
14
public static int manyVars(int a) {
15
int b = 0x22;
16
int c = 0x33;
17
int d = 0x44;
18
19
return (((a - b) - c) + d);
20
}
21
}