mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-26 23:20:08 +08:00
15 lines
213 B
Java
15 lines
213 B
Java
|
// 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;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|