mirror of
https://github.com/gcc-mirror/gcc.git
synced 2026-05-06 23:25:24 +02:00
New test case.
From-SVN: r31950
This commit is contained in:
committed by
Anthony Green
parent
d6455b5baf
commit
762016bf0a
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user