mirror of
https://github.com/gcc-mirror/gcc.git
synced 2026-05-06 23:25:24 +02: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;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|