summaryrefslogtreecommitdiff
path: root/libjava/testsuite/libjava.lang/inner3.java
blob: e1cf9da376cb5a8a2acc2ebc648f36c353bbc11a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Class inner3
// Generated on Tue Dec  7 11:37:43 PST 1999
//

class inner3 {
  int bar;
  public static void main (String[] arg)
  {
    System.out.println ("Testing class `inner3'...");
    new inner3().bar ();
  }
  void bar () {
    t xx = this.new t ();
    xx.bar ();
  }
  void foo () { bar = 3; }
  class t {
    void bar () {
      inner3.this.foo ();
      System.out.println (inner3.this.bar);
    }
  }
}