Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / libjava / testsuite / libjava.lang / indirect.java
blob22bdebc5bb8640cda96b829b2c49957e759f1cfe
1 // Class indirect
2 // Generated on Tue Nov 16 15:53:14 UTC 1999
3 // Several indirection to enclosing class
5 class indirect {
7 private int foo;
9 class indirect_inner {
10 class other {
11 class inner {
12 void test () {
13 int x = foo;
14 System.out.println ("x="+foo);
15 foo = 671;
21 void foo ()
23 foo = 670;
24 indirect_inner inn = this.new indirect_inner ();
25 this.new indirect_inner().new other().new inner ().test ();
26 System.out.println ("foo="+foo);
28 public static void main (String[] arg)
30 System.out.println ("Testing class `indirect'...");
31 new indirect().foo ();