bug fixes
[IRC.git] / Robust / src / Tests / rcr / test.java
1 public class test {
2   foo f;
3   public test() {}
4
5   public static void main(String xz[]) {
6     test[] r=new test[10];
7     for(int i=0;i<10;i++) {
8       r[i]=new test();
9       //      if (i%2==0)
10         r[i].f=new foo();
11         //      else
12         //      r[i].f=new foo();
13     }
14
15     for (int z=0;z<100000;z++) {
16       for (int i=0;i<10;i++) {
17         test x=r[i];
18         sese foo {
19           int t=x.f.x;
20           x.f.x=t+1;
21         }
22       }
23     }
24     for(int i=0;i<10;i++)
25       System.out.println(r[i].f.x);
26   }
27 }
28
29 class foo {
30   foo() {
31   }
32   int x;
33 }