X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=tests%2FArgumentPassing1.java;h=29b6fdc6f702e76be5299046f32ec0d238c3afe2;hb=HEAD;hp=7867cfdb6666da1dbad5027aad7fd7c0196f0dfe;hpb=f0b4e78c77e6503703fd7ace19e203ce06718397;p=mate.git diff --git a/tests/ArgumentPassing1.java b/tests/ArgumentPassing1.java index 7867cfd..29b6fdc 100644 --- a/tests/ArgumentPassing1.java +++ b/tests/ArgumentPassing1.java @@ -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) {