summaryrefslogtreecommitdiffstats
path: root/libjava/testsuite/libjava.lang/multiple_finit.java
blob: a05ecb38132fca2e12735892bd9da07e33b9a00f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// Class multiple_finit
// Generated on Mon Jan  3 20:07:18 PST 2000
//

class multiple_finit {

  int foo = 99;

  class multiple_finit_inner {
    int inner = 34;
    void test () {
      System.out.println (inner);
      System.out.println (foo);
    }
  }
  void foo (String s)
  {
    multiple_finit_inner inn = this.new multiple_finit_inner ();
    inn.test ();
    System.out.println (foo);
  }  
  void testx () { }
  public static void main (String[] arg)
  {
    System.out.println ("Testing class `multiple_finit'...");
    new multiple_finit().foo ("");
  }
}
OpenPOWER on IntegriCloud