invokevirtual: get the actual class at run-time
[mate.git] / Makefile
index ceeb809633e338a15e7892e179263a1a1a00d1fd..335313767b402dc43dd49d18818183e062534b3c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -56,6 +56,8 @@ test: mate $(CLASS_FILES)
        @printf "should be:  0x%08x 0x%08x\n" 0x198 0x22
        ./$< tests/Instance3 | grep mainresult
        @printf "should be:  0x%08x 0x%08x\n" 0x33 0x44
+       ./$< tests/Instance4 | grep mainresult
+       @printf "should be:  0x%08x 0x%08x\n" 0x1337 0x1337
 
 %.class: %.java
        $(JAVAC) $<