fields: use offsets from ClassInfo in codegen
[mate.git] / Makefile
index 39300895ea245d08b303a8129d768184d5f3c2bf..3c004ec808a9f4e9ecdacd7b0094ffc42a6b42e3 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -50,6 +50,8 @@ test: mate $(CLASS_FILES)
        @printf "should be:  0x%08x\n" 0x1337
        ./$< tests/Instance1 | grep mainresult
        @printf "should be:  0x%08x 0x%08x\n" 0x55 0x11
+       ./$< tests/Instance2 | grep mainresult
+       @printf "should be:  0x%08x\n" 0x198
 
 %.class: %.java
        $(JAVAC) $<