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:
584 bytes
|
Line | |
---|
1 | // Class indirect_write
|
---|
2 | // Generated on Tue Nov 16 15:01:24 UTC 1999
|
---|
3 | //
|
---|
4 |
|
---|
5 | class indirect_write {
|
---|
6 |
|
---|
7 | int foo;
|
---|
8 |
|
---|
9 | class indirect_write_inner {
|
---|
10 | void test () {
|
---|
11 | }
|
---|
12 |
|
---|
13 | class other {
|
---|
14 | void testx () {
|
---|
15 | foo = 670;
|
---|
16 | }
|
---|
17 | }
|
---|
18 |
|
---|
19 | }
|
---|
20 | void foo ()
|
---|
21 | {
|
---|
22 | indirect_write_inner inn = this.new indirect_write_inner ();
|
---|
23 | indirect_write_inner.other x = inn.new other ();
|
---|
24 | x.testx();
|
---|
25 | System.out.println ("foo="+foo);
|
---|
26 | }
|
---|
27 | public static void main (String[] arg)
|
---|
28 | {
|
---|
29 | System.out.println ("Testing class `indirect_write'...");
|
---|
30 | new indirect_write().foo ();
|
---|
31 | }
|
---|
32 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.