about to make lots of changes to system, just committing this stable compilation...
[IRC.git] / Robust / src / Tests / mlp / tinyTest / test.java
1 public class Test {
2
3   public static void main( String args[] ) {
4     
5     int x = 1;
6     int y = 1;
7
8     sese fi {
9       if( true ) {
10         x = y + 2;
11         y = 3;  
12       }      
13     }
14
15     /*  ADD BACK IN LATER, TO TEST STALLS
16     // shouldn't cause a stall
17     int z = x;
18
19     // stall and get values for y and z
20     x = x + 1;
21
22     // all of these should proceed without stall
23     y = y + 1;
24     x = x + 1;
25     z = z + 1;
26     */
27
28     // see that values from sese fi are
29     // forwarded to this sibling
30     sese fo {
31       // expecting x=3, y=3
32       System.out.println( "x="+x+", y="+y );
33     }
34
35
36
37
38
39     //Integer i;
40     //afunc( i );
41   }
42
43   /*
44   public static void afunc( Integer i ) {
45     i = null;
46   }
47   */
48 }