1# Copyright (c) 2021-2022 Huawei Device Co., Ltd. 2# Licensed under the Apache License, Version 2.0 (the "License"); 3# you may not use this file except in compliance with the License. 4# You may obtain a copy of the License at 5# 6# http://www.apache.org/licenses/LICENSE-2.0 7# 8# Unless required by applicable law or agreed to in writing, software 9# distributed under the License is distributed on an "AS IS" BASIS, 10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11# See the License for the specific language governing permissions and 12# limitations under the License. 13# 14# This is an auxiliary file with some basics classes that can be used in checked tests with inter-file communication 15# It is written in pure PandaAssembly i.e. some features are not available e.g. inheritance (it is available only with 16# java extension). 17# The file would be AOT compiled as well. 18# 19 20.record A { } 21 22#! CHECKER BasicAOT 23#! RUN_PAOC options: "" 24.function i32 A.get95() <static> { 25 ldai 95 26 return 27} 28 29.function i32 A.get95_virt(A a0) { 30 ldai 95 31 return 32} 33 34