codegen: handle exceptions of a method
[mate.git] / tests / Instance1.java
1 package tests;
2
3 public class Instance1 {
4         public int x;
5
6         public Instance1() {
7                 x = 0x55;
8         }
9
10         public static void main(String []args) {
11                 Instance1 a = new Instance1();
12                 id(a.x); // 0x55
13                 a.x = 0x11;
14                 id(a.x); // 0x11
15         }
16
17         public static void id(int a) {
18                 System.out.printf("result: 0x%08x\n", a);
19         }
20 }