blob: 4d781d9518768a00a598bddca98ff05bb70e660f [file] [log] [blame]
Stephan Herhut7fa3d1b2017-08-04 13:30:15 +02001// Copyright (c) 2017, the R8 project authors. Please see the AUTHORS file
2// for details. All rights reserved. Use of this source code is governed by a
3// BSD-style license that can be found in the LICENSE file.
4package inlining.pkg;
5
6public class OtherPublicClass {
7
8 public static String callsMethodThatCallsPackagePrivateMethod() {
9 return PublicClass.callsPackagePrivateMethod();
10 }
11
12 public static String callsMethodThatCallsProtectedMethod() {
13 return PublicClass.callsProtectedMethod();
14 }
15
16 public static int callsMethodThatReadsFieldInPackagePrivateClass() {
17 return PublicClass.readsPackagePrivateField();
18 }
19
20}