codegen: handle exceptions of a method
[mate.git] / tests / ArgumentPassing1.java
index 7867cfdb6666da1dbad5027aad7fd7c0196f0dfe..29b6fdc6f702e76be5299046f32ec0d238c3afe2 100644 (file)
@@ -2,9 +2,9 @@ package tests;
 
 public class ArgumentPassing1 {
        public static void main(String []args) {
-               myadder(23, 4, 0x77); // 0x92
+               System.out.printf("result: 0x%08x\n", myadder(23, 4, 0x77)); // 0x92
                noreturn(23, 4, 0x77); // nothing
-               noargs(); // 0x1337
+               System.out.printf("result: 0x%08x\n", noargs()); // 0x1337
        }
 
        public static int myadder(int a, int b, int c) {