source:
trunk/gcc/libjava/testsuite/libjava.lang/private_direct_write.java@
3103
| Last change on this file since 3103 was 2, checked in by , 23 years ago | |
|---|---|
|
|
| File size: 525 bytes | |
| Line | |
|---|---|
| 1 | // Class private_direct_write |
| 2 | // Generated on Tue Nov 16 15:05:54 UTC 1999 |
| 3 | // |
| 4 | |
| 5 | class 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 | { |
