Index: src/test/regression/H3225/LastJsrTest.j =================================================================== --- src/test/regression/H3225/LastJsrTest.j (revision 0) +++ src/test/regression/H3225/LastJsrTest.j (revision 0) @@ -0,0 +1,23 @@ +.class public org/apache/harmony/drlvm/tests/regression/h3225/LastJsrTest +.super junit/framework/TestCase +.method public ()V + aload_0 + invokespecial junit/framework/TestCase/()V + return +.end method + +; +; A subroutine call can be the last instruction, +; when the subroutine doesn't return. +; +.method public static main([Ljava/lang/String;)V + .limit stack 1 + .limit locals 2 + + goto LabelEndMethod +LabelReturn: + return +LabelEndMethod: + jsr LabelReturn +.end method +