codegen: fix bug in calling conv
[mate.git] / Makefile
index fb4b5bcda9b4040ed5858b06c20ae4e373ae665a..9e1a9b4eeff6db789c3ef842c2dc379a22488518 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -33,6 +33,10 @@ test: mate $(CLASS_FILES)
        @printf "should be:  0x%08x\n" 0x55
        ./$< tests/Static3 | grep mainresult
        @printf "should be:  0x%08x\n" 0x6dd
+       ./$< tests/CallConv1 | grep mainresult
+       @printf "should be:  0x%08x\n" 0x1337
+       ./$< tests/CallConv2 | grep mainresult
+       @printf "should be:  0x%08x\n" 0x1337
 
 %.class: %.java
        $(JAVAC) $<