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