Test for PR gcj/224:
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. From-SVN: r33762
This commit is contained in:
parent
a997ec535c
commit
84d7ae3293
3 changed files with 23 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
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:
|
||||
|
|
16
libjava/testsuite/libjava.compile/PR224.java
Normal file
16
libjava/testsuite/libjava.compile/PR224.java
Normal file
|
@ -0,0 +1,16 @@
|
|||
// 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
|
||||
|
1
libjava/testsuite/libjava.compile/PR224.xfail
Normal file
1
libjava/testsuite/libjava.compile/PR224.xfail
Normal file
|
@ -0,0 +1 @@
|
|||
shouldfail
|
Loading…
Add table
Reference in a new issue