source:
trunk/gcc/libjava/testsuite/libjava.compile/inner_inherit.java
Last change on this file was 2, checked in by , 22 years ago | |
---|---|
|
|
File size: 241 bytes |
Line | |
---|---|
1 | // Test to insure that we can refer to methods inherited through an |
2 | // inner class. |
3 | |
4 | public class inner_inherit |
5 | { |
6 | private class Agent extends Thread { |
7 | } |
8 | |
9 | public void f () |
10 | { |
11 | Agent a = new Agent(); |
12 | a.setDaemon(true); |
13 | } |
14 | } |
Note:
See TracBrowser
for help on using the repository browser.