aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/libjava/testsuite/libjava.lang/inner2.java
blob: 8ecb6f5f7ed4dcccea87a7700a575b1c2e136377 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Class inner2
// Generated on Mon Dec  6 14:32:34 PST 1999
//

class inner2 {
  int foo = 1999;
  void foo () 
  {
    inner2.this.foo = 666;
    System.out.println (inner2.this.foo);
  }
  void print () {System.out.println (foo);}
  public static void main (String[] arg)
  {
    System.out.println ("Testing class `inner2'...");
    new inner2().foo ();
  }
}