sese's wait for children to exit before exiting
[IRC.git] / Robust / src / Tests / mlp / tinyTest / test.java
1 public class Foo {
2   public Foo() {}
3 }
4
5
6 // TODO
7 // -objects
8
9
10 public class Test {
11
12   public static void main( String args[] ) {
13     
14     int x = Integer.parseInt( args[0] );
15     int y = Integer.parseInt( args[1] );
16     System.out.println( "root: x="+x+", y="+y );
17
18     if( x > 3 ) {
19       sese fee {
20         y = y + 10;
21       }
22     }
23
24     /*
25     sese fie {
26       float xyz = -2.0f;
27     }
28     float jjj = Math.abs( xyz );
29     */
30
31     // see that values from sese fi are
32     // forwarded to this sibling
33     //sese foe {
34     //System.out.println( "fo: x="+x+", y="+y );
35     //System.out.println( "y="+y+" xyz="+xyz );
36     System.out.println( "y="+y );
37     //}
38
39
40
41     // just for testing root's ability to
42     // realize a single exit after all returns
43     // DOESN'T WORK!
44     //if( false ) {
45     //  return;
46     //}
47   }
48 }