Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / libjava / testsuite / libjava.lang / tmi.java
blobbe2395a965b6d42a927239744a7436a55b894949
1 // Class t
2 // Generated on Thu Nov 4 16:35:03 PST 1999
3 //
5 class tmi {
6 int i;
7 void foo () {
8 tmi.z x1 = new z();
9 tmi.z.y x = x1.new y();
10 x.bar ();
11 x.print();
12 tmi.this.i = 666;
13 x.print();
14 tmi.this.print();
16 void print () {
17 System.out.println ("tmi.print()");
19 public static void main (String[] arg)
21 System.out.println ("Testing class `tmi'...");
22 new tmi ().foo();
24 class z {
25 int j;
26 void foo () {
27 tmi.this.i = 3;
29 class y {
30 int k;
31 void bar () {
32 tmi.this.i = 3;
33 tmi.this.print ();
34 z.this.j = 4;
35 y.this.k = 34;
37 void print () {
38 System.out.println ("i="+i+", j="+j+", k="+k);