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