aboutsummaryrefslogtreecommitdiff
path: root/libjava/testsuite/libjava.compile/inner_pub.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/testsuite/libjava.compile/inner_pub.java')
-rw-r--r--libjava/testsuite/libjava.compile/inner_pub.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/libjava/testsuite/libjava.compile/inner_pub.java b/libjava/testsuite/libjava.compile/inner_pub.java
new file mode 100644
index 0000000..616488f
--- /dev/null
+++ b/libjava/testsuite/libjava.compile/inner_pub.java
@@ -0,0 +1,11 @@
+// Test to ensure that public inner classes work.
+
+public class inner_pub
+{
+ public class really_inner
+ {
+ int z;
+ }
+
+ really_inner foo;
+}