Some tests that are helping with SESE garbage collection, incidentally the mlp regres...
[IRC.git] / Robust / src / Tests / oooJava / sese-gc / test.java
1 public class Foo {
2   public int z;
3   public Foo() {}
4 }
5
6 public class Test {
7
8   static public void main( String args[] ) {
9     int x = 1;
10     Foo f = new Foo();
11     f.z = 1;
12     if( false ) {
13       rblock a {
14         x = 2;
15         f.z = 2;
16       }
17     }
18     rblock b {
19       int y = 3;
20       Foo g = new Foo();
21       g.z = 3;
22     }
23
24     rblock c {
25       System.out.println( x+y+f.z+g.z );
26     }
27   }
28 }