source: trunk/gcc/libjava/testsuite/libjava.lang/multiple_finit.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: 572 bytes
Line 
1// Class multiple_finit
2// Generated on Mon Jan 3 20:07:18 PST 2000
3//
4
5class multiple_finit {
6
7 int foo = 99;
8
9 class multiple_finit_inner {
10 int inner = 34;
11 void test () {
12 System.out.println (inner);
13 System.out.println (foo);
14 }
15 }
16 void foo (String s)
17 {
18 multiple_finit_inner inn = this.new multiple_finit_inner ();
19 inn.test ();
20 System.out.println (foo);
21 }
22 void testx () { }
23 public static void main (String[] arg)
24 {
25 System.out.println ("Testing class `multiple_finit'...");
26 new multiple_finit().foo ("");
27 }
28}
Note: See TracBrowser for help on using the repository browser.