aboutsummaryrefslogtreecommitdiff
path: root/testdata/const-method-type-min.smali
diff options
context:
space:
mode:
authorKelvin Zhang <zhangkelvin@google.com>2021-11-01 19:27:26 -0700
committerKelvin Zhang <zhangkelvin@google.com>2021-11-02 02:38:22 +0000
commita90c04389f86ed4363674e20b0d5f171dea7ebeb (patch)
tree0a310ca653ef73c547d80da63c87fcb2c0636bcb /testdata/const-method-type-min.smali
parentf2da819cb37cb2376c917506fb1eb154ec61586a (diff)
parent8bb965d29e918d0559589a215ff7f4bd0874bc08 (diff)
downloadzucchini-a90c04389f86ed4363674e20b0d5f171dea7ebeb.tar.gz
Merge remote-tracking branch 'aosp/upstream-main' into dev
This performs a merge on upstream zucchini. Change-Id: I8a4844407558d6f1e439939ee634fe17ed7a4e55
Diffstat (limited to 'testdata/const-method-type-min.smali')
-rw-r--r--testdata/const-method-type-min.smali16
1 files changed, 16 insertions, 0 deletions
diff --git a/testdata/const-method-type-min.smali b/testdata/const-method-type-min.smali
new file mode 100644
index 0000000..8a0f632
--- /dev/null
+++ b/testdata/const-method-type-min.smali
@@ -0,0 +1,16 @@
+# Tests const-method-type added in DEX version 39.
+
+# Compile using smali: https://github.com/JesusFreke/smali
+# java -jar smali.jar assemble const-method-type.smali --api 28
+
+.class public LConstMethodTypeTest;
+.super Ljava/lang/Object;
+
+.method public test(I)V
+ .registers 4
+ const-method-type v0, ()I
+ const-method-type v1, (C)V
+ const-method-type v2, (I)V
+ const-method-type v3, (I)I
+ return-void
+.end method