2011-11-22 11:39:25 +01:00
|
|
|
open Iostream
|
|
|
|
|
|
|
|
unsafe fun f(a:int) returns (o:int)
|
|
|
|
var x:int;
|
|
|
|
let
|
|
|
|
x = a + 2;
|
2011-11-22 14:43:52 +01:00
|
|
|
() = printf("Int is %d\n", x);
|
|
|
|
() = printf("Bool is %b\n", x = 0);
|
|
|
|
() = printf("Test\n");
|
2011-11-22 11:39:25 +01:00
|
|
|
o = x - 1;
|
|
|
|
tel
|