codegen: handle exceptions of a method
[mate.git] / tests / Instance1.java
index c9a90f9f49b355068ca629103594b7eb411bf508..fb24f7adc78bf084c00c91f8a0894d4cfe6e7824 100644 (file)
@@ -14,7 +14,7 @@ public class Instance1 {
                id(a.x); // 0x11
        }
 
-       public static int id(int a) {
-               return a;
+       public static void id(int a) {
+               System.out.printf("result: 0x%08x\n", a);
        }
 }