source: trunk/gcc/libjava/testsuite/libjava.compile/inner_inherit.java

Last change on this file was 2, checked in by bird, 22 years ago

Initial revision

  • Property cvs2svn:cvs-rev set to 1.1
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 241 bytes
Line 
1// Test to insure that we can refer to methods inherited through an
2// inner class.
3
4public 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.