projects
/
mate.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
test: testcase stolen from JorthVM
[mate.git]
/
tests
/
Instance2.java
diff --git
a/tests/Instance2.java
b/tests/Instance2.java
index 6f25480569516fbbaf8e4f5a3aaaddd59f811f16..b336aefcfdeff3e84f74af121b1fa631fd23aedd 100644
(file)
--- a/
tests/Instance2.java
+++ b/
tests/Instance2.java
@@
-19,5
+19,14
@@
public class Instance2 extends Instance1 {
b.x = 0x22; sum += b.x; // 0x22
b.y = 0x33; sum += b.y; // 0x33
Instance1.id(sum); // 0x198
+ System.out.printf("0x%08x\n", b.getX()); // 0x22
+ }
+
+ public int getX() {
+ return this.x;
+ }
+
+ public void setX(int a) {
+ this.x = a;
}
}