source: trunk/gcc/libjava/testsuite/libjava.lang/PR6085.java

Last change on this file was 1389, checked in by bird, 21 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: 418 bytes
Line 
1public class PR6085
2{
3 public static void main(String[] args)
4 {
5 F1 f1 = new F1();
6 }
7
8 static class F1
9 {
10 F11 f11;
11 F12 f12;
12
13 F1()
14 {
15 f12 = new F12();
16 System.out.println (f12.i);
17 System.out.println (f12.k);
18 }
19
20 class F11
21 {
22 int k = 90;
23 F11() {}
24 }
25
26 class F12 extends F11
27 {
28 int i;
29 F12()
30 {
31 i = 17;
32 }
33 }
34 }
35}
Note: See TracBrowser for help on using the repository browser.