mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-24 10:59:11 +08:00
15 lines
241 B
Java
15 lines
241 B
Java
|
// Test to insure that we can refer to methods inherited through an
|
||
|
// inner class.
|
||
|
|
||
|
public class inner_inherit
|
||
|
{
|
||
|
private class Agent extends Thread {
|
||
|
}
|
||
|
|
||
|
public void f ()
|
||
|
{
|
||
|
Agent a = new Agent();
|
||
|
a.setDaemon(true);
|
||
|
}
|
||
|
}
|