blob: 48c53a8d015006c4b2f8d1e0e2692c19abbd56e0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
// Class indirect_read
// Generated on Mon Nov 15 17:20:40 UTC 1999
//
class indirect_read {
int foo;
class indirect_read_inner {
void test () {
}
class other {
void testx () {
int x = foo;
System.out.println ("x="+x);
}
}
}
void foo ()
{
foo = 670;
indirect_read_inner inn = this.new indirect_read_inner ();
indirect_read_inner.other o = inn.new other ();
o.testx ();
}
public static void main (String[] arg)
{
System.out.println ("Testing class `indirect_read'...");
new indirect_read().foo ();
}
}
|