mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-30 00:45:44 +08:00
762016bf0a
From-SVN: r31950
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;
|
|
}
|
|
}
|
|
}
|
|
|