New test case.
From-SVN: r31950
This commit is contained in:
parent
d6455b5baf
commit
762016bf0a
@ -1,3 +1,7 @@
|
||||
2000-02-12 Anthony Green <green@cygnus.com>
|
||||
|
||||
* libjava.compile/inner_data.java: New file.
|
||||
|
||||
2000-02-12 Anthony Green <green@cygnus.com>
|
||||
|
||||
* libjava.compile/inner_inherit.java: New file.
|
||||
|
14
libjava/testsuite/libjava.compile/inner_data.java
Normal file
14
libjava/testsuite/libjava.compile/inner_data.java
Normal file
@ -0,0 +1,14 @@
|
||||
// Test referencing protected data from parent of inner class.
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
public class inner_data
|
||||
{
|
||||
private class Randomer extends Random {
|
||||
public long xxx ()
|
||||
{
|
||||
return seed;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user