test/800-smali/smali/b_29778499_2.smali
raw| 1 | .class public LB29778499_2; |
| 2 | .super Ljava/lang/Object; |
| 3 | |
| 4 | # Test invoking an interface method on an object that doesn't implement any interface. |
| 5 | # This is testing an edge case (not implementing any interface) for b/18116999. |
| 6 | |
| 7 | .method public static run()V |
| 8 | .registers 1 |
| 9 | new-instance v0, Ljava/lang/Object; |
| 10 | invoke-direct {v0}, Ljava/lang/Object;-><init>()V |
| 11 | invoke-interface {v0}, Ljava/lang/Runnable;->run()V |
| 12 | return-void |
| 13 | .end method |