source: trunk/gcc/libjava/testsuite/libjava.lang/inner2.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: 364 bytes
Line 
1// Class inner2
2// Generated on Mon Dec 6 14:32:34 PST 1999
3//
4
5class inner2 {
6 int foo = 1999;
7 void foo ()
8 {
9 inner2.this.foo = 666;
10 System.out.println (inner2.this.foo);
11 }
12 void print () {System.out.println (foo);}
13 public static void main (String[] arg)
14 {
15 System.out.println ("Testing class `inner2'...");
16 new inner2().foo ();
17 }
18}
Note: See TracBrowser for help on using the repository browser.