blob: 279d85b597346b7fa3f21eb561bc2b7987f3e5a5 [file] [log] [blame]
// Copyright (c) 2020, the R8 project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
package com.android.tools.r8.repackage.testclasses.repackagetest;
import com.android.tools.r8.NeverInline;
import com.android.tools.r8.NoHorizontalClassMerging;
import com.android.tools.r8.NoStaticClassMerging;
@NoHorizontalClassMerging
@NoStaticClassMerging
public class AccessPackagePrivateKeptMethodOnReachableClassIndirect {
@NeverInline
public static void test() {
Helper.test();
}
@NoHorizontalClassMerging
@NoStaticClassMerging
public static class Helper {
@NeverInline
static void test() {
ReachableClassWithKeptMethod.packagePrivateMethod();
}
}
}