1# Copyright (C) 2018 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7#      http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15.class public LTest;
16.super Ljava/lang/Object;
17
18.method public constructor <init>()V
19    .registers 2
20    invoke-direct {p0}, Ljava/lang/Object;-><init>()V
21    const/4 v0, 0x1
22    sput v0, LTest;->field:I
23    return-void
24.end method
25
26
27.method public testEmpty()V
28  .registers 2
29  const/4 p0, 0x1
30  invoke-static {}, LMain;->getThisOfCaller()Ljava/lang/Object;
31  move-result-object v0
32  sput-object v0, LMain;->field:Ljava/lang/Object;
33  return-void
34.end method
35
36.method public testPrimitive()I
37  .registers 2
38  sget p0, LTest;->field:I
39  invoke-static {}, LMain;->getThisOfCaller()Ljava/lang/Object;
40  move-result-object v0
41  sput-object v0, LMain;->field:Ljava/lang/Object;
42  return p0
43.end method
44
45.field static public field:I
46