Test for PR gcj/224:
* libjava.compile/PR224.java: New file.
* libjava.compile/PR224.xfail: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33762
138bc75d-0d04-0410-961f-
82ee72b054a4
+2000-05-08 Bryce McKinlay <bryce@albatross.co.nz>
+
+ Test for PR gcj/224:
+ * libjava.compile/PR224.java: New file.
+ * libjava.compile/PR224.xfail: New file.
+
2000-04-28 Bryce McKinlay <bryce@albatross.co.nz>
Test for PR gcj/218:
--- /dev/null
+// File PrivateInnerInterface.java
+
+public class PR224 {
+ private interface Inter {}
+}
+
+
+class PrivateInnerInterface_Test extends PR224 {
+ void foo() {
+ // Implement the interface with an innerclass
+ Inter i = new Inter() { } ;
+ }
+}
+
+// This should fail to compile because Inter is private in the superclass
+
--- /dev/null
+shouldfail