source: trunk/gcc/libjava/testsuite/libjava.lang/direct_write.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: 478 bytes
Line 
1// Class direct_write
2// Generated on Mon Nov 15 17:10:56 UTC 1999
3//
4
5class direct_write {
6
7 int foo;
8
9 class direct_write_inner {
10 void test () {
11 foo = 670;
12 }
13 }
14
15 void foo ()
16 {
17 foo = 650;
18 direct_write_inner inn = this.new direct_write_inner ();
19 inn.test ();
20 System.out.println ("foo="+foo);
21 }
22 public static void main (String[] arg)
23 {
24 System.out.println ("Testing class `direct_write'...");
25 new direct_write().foo ();
26 }
27}
Note: See TracBrowser for help on using the repository browser.