diff --git a/src/test/smali/junit-tests/InstructionTests/Format10t/Format10t.smali b/src/test/smali/junit-tests/InstructionTests/Format10t/Format10t.smali new file mode 100644 index 00000000..2aebccb8 --- /dev/null +++ b/src/test/smali/junit-tests/InstructionTests/Format10t/Format10t.smali @@ -0,0 +1,28 @@ +.class public LFormat10t; +.super Ljava/lang/Object; +.source "Format10t.smali" + +.method public constructor ()V + .registers 1 + invoke-direct {p0}, Ljava/lang/Object;->()V + return-void +.end method + +.method public test_goto()V + .registers 2 + .annotation runtime Lorg/junit/Test; + .end annotation + + + const v0, 5 + + goto label: + + const v0, 6 + + label: + + const v1, 5 + invoke-static {v0, v1}, LAssert;->assertEquals(II)V + return-void +.end method \ No newline at end of file diff --git a/src/test/smali/junit-tests/TestSuite.smali b/src/test/smali/junit-tests/TestSuite.smali index 59aaf52c..7a07c7cf 100644 --- a/src/test/smali/junit-tests/TestSuite.smali +++ b/src/test/smali/junit-tests/TestSuite.smali @@ -23,6 +23,7 @@ value = { LFieldTest;, LSpecialInstructionPaddingTest;, LFormat10x;, + LFormat10t;, LFormat11n;, LFormat11x;, LFormat12x;