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