test/800-smali/smali/b_17410612.smali
raw| 1 | .class public LB17410612; |
| 2 | |
| 3 | # Test that an invoke with a long parameter has the long parameter in |
| 4 | # a pair. This should fail in the verifier and not an abort in the compiler. |
| 5 | |
| 6 | .super Ljava/lang/Object; |
| 7 | |
| 8 | .method public static run()V |
| 9 | .registers 4 |
| 10 | const-wide v0, 0 # Make (v0, v1) a long |
| 11 | const-wide v2, 0 # Make (v2, v3) a long |
| 12 | invoke-static {v0, v3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long; |
| 13 | return-void |
| 14 | .end method |