invokevirtual: implemented. not very well tested though
[mate.git] / tests / Instance2.java
index 6f25480569516fbbaf8e4f5a3aaaddd59f811f16..687d7f93c5d4e77e4715ec617a94bb8dd2965a66 100644 (file)
@@ -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
+               b.getX(); // 0x22
+       }
+
+       public int getX() {
+               return this.x;
+       }
+
+       public void setX(int a) {
+               this.x = a;
        }
 }