1*0797b24eSAndroid Build Coastguard Worker /* 2*0797b24eSAndroid Build Coastguard Worker * Copyright (C) 2020 The Android Open Source Project 3*0797b24eSAndroid Build Coastguard Worker * 4*0797b24eSAndroid Build Coastguard Worker * Licensed under the Apache License, Version 2.0 (the "License"); 5*0797b24eSAndroid Build Coastguard Worker * you may not use this file except in compliance with the License. 6*0797b24eSAndroid Build Coastguard Worker * You may obtain a copy of the License at 7*0797b24eSAndroid Build Coastguard Worker * 8*0797b24eSAndroid Build Coastguard Worker * http://www.apache.org/licenses/LICENSE-2.0 9*0797b24eSAndroid Build Coastguard Worker * 10*0797b24eSAndroid Build Coastguard Worker * Unless required by applicable law or agreed to in writing, software 11*0797b24eSAndroid Build Coastguard Worker * distributed under the License is distributed on an "AS IS" BASIS, 12*0797b24eSAndroid Build Coastguard Worker * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13*0797b24eSAndroid Build Coastguard Worker * See the License for the specific language governing permissions and 14*0797b24eSAndroid Build Coastguard Worker * limitations under the License. 15*0797b24eSAndroid Build Coastguard Worker */ 16*0797b24eSAndroid Build Coastguard Worker 17*0797b24eSAndroid Build Coastguard Worker #include "nativehelper/scoped_local_frame.h" 18*0797b24eSAndroid Build Coastguard Worker 19*0797b24eSAndroid Build Coastguard Worker // This is a test that scoped headers work independently. 20*0797b24eSAndroid Build Coastguard Worker TestScopedLocalFrame(JNIEnv * env)21*0797b24eSAndroid Build Coastguard Workervoid TestScopedLocalFrame(JNIEnv* env) { 22*0797b24eSAndroid Build Coastguard Worker ScopedLocalFrame slf(env); 23*0797b24eSAndroid Build Coastguard Worker } 24