Rename test package to lower case
Change-Id: I892c99d0c9a40e407e3522ff2ae8eecc202d2937
diff --git a/src/test/examplesJava11/nesthostexample/NestHostInliningSubclasses.java b/src/test/examplesJava11/nesthostexample/NestHostInliningSubclasses.java
new file mode 100644
index 0000000..a6283a0
--- /dev/null
+++ b/src/test/examplesJava11/nesthostexample/NestHostInliningSubclasses.java
@@ -0,0 +1,26 @@
+// Copyright (c) 2019, 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 nesthostexample;
+
+public class NestHostInliningSubclasses {
+
+ public static class InnerWithPrivAccess extends NestHostInlining.InnerWithPrivAccess {
+ public String accessSubclass(NestHostInlining host) {
+ return super.access(host) + "Subclass";
+ }
+ }
+
+ public static class InnerNoPrivAccess extends NestHostInlining.InnerNoPrivAccess {
+ @NeverInline
+ public String printSubclass() {
+ return super.print() + "Subclass";
+ }
+ }
+
+ public static void main(String[] args) {
+ System.out.println(new InnerWithPrivAccess().accessSubclass(new NestHostInlining()));
+ System.out.println(new InnerNoPrivAccess().printSubclass());
+ }
+}