New test case.
From-SVN: r31949
This commit is contained in:
parent
3abd3239f3
commit
d6455b5baf
2 changed files with 18 additions and 0 deletions
14
libjava/testsuite/libjava.compile/inner_inherit.java
Normal file
14
libjava/testsuite/libjava.compile/inner_inherit.java
Normal file
|
@ -0,0 +1,14 @@
|
|||
// 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);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue