source: trunk/gcc/libjava/testsuite/libjava.lang/private_direct_write.java@ 3127

Last change on this file since 3127 was 2, checked in by bird, 23 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: 525 bytes
Line 
1// Class private_direct_write
2// Generated on Tue Nov 16 15:05:54 UTC 1999
3//
4
5class private_direct_write {
6
7 private int foo;
8
9 class private_direct_write_inner {
10 void test () {
11 foo = 670;
12 }
13 }
14 void foo ()
15 {
16 private_direct_write_inner inn = this.new private_direct_write_inner ();
17 inn.test ();
18 System.out.println ("foo="+foo);
19 }
20 public static void main (String[] arg)
21 {
22 System.out.println ("Testing class `private_direct_write'...");
23 new private_direct_write().foo ();
24 }
25}
Note: See TracBrowser for help on using the repository browser.