PR rtl-optimization/57003
[official-gcc.git] / libjava / testsuite / libjava.lang / indirect_write.java
blob2f2bb74435d27113c3957868daa7e89688bb1b9a
1 // Class indirect_write
2 // Generated on Tue Nov 16 15:01:24 UTC 1999
3 //
5 class indirect_write {
7 int foo;
9 class indirect_write_inner {
10 void test () {
13 class other {
14 void testx () {
15 foo = 670;
20 void foo ()
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);
27 public static void main (String[] arg)
29 System.out.println ("Testing class `indirect_write'...");
30 new indirect_write().foo ();