summaryrefslogtreecommitdiff
path: root/valid/code-0004.smali
blob: 5cad6c67c4e06dee44686a7bf7084607b70245ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38

.class public LExample;
.super Ljava/lang/Object;

.method static constructor <init>()V
    .locals 0

    return-void
.end method

.method public test_data_handling()V
    .locals 4

    const/16 v0, 0x1234
    sput-object v0, LExample;->data:Ljava/lang/Object;

    new-instance v0, Ljava/lang/String;
    iput-object v0, p0, LExample;->stringData:Ljava/lang/String;

    return-void
.end method

.method public test_control_flow()V
    .locals 2

    const/16 v0, 0x5
    const/16 v1, 0x8

    if-gt v0, v1, :cond_true

    goto :end_if

:cond_true
    return-void

:end_if
    return-void
.end method