Patch: inner class test
Tom Tromey
tromey@cygnus.com
Wed Feb 9 12:32:00 GMT 2000
I'm checking in this patch, which adds another compiler test for inner
classes.
2000-02-09 Tom Tromey <tromey@cygnus.com>
* libjava.compile/inner_priv.java: New file.
Tom
Index: libjava.compile/inner_priv.java
===================================================================
RCS file: inner_priv.java
diff -N inner_priv.java
--- /dev/null Tue May 5 13:32:27 1998
+++ inner_priv.java Wed Feb 9 12:30:40 2000
@@ -0,0 +1,11 @@
+// Test to ensure that private inner classes are ok.
+
+public class inner_priv
+{
+ private class K
+ {
+ int z;
+ }
+
+ K foo;
+}
More information about the Java-patches
mailing list