heptagon/test/good/format.ept

11 lines
189 B
Plaintext
Raw Normal View History

open Iostream
unsafe fun f(a:int) returns (o:int)
var x:int;
let
x = a + 2;
() = printf("Int is %d@.", x);
() = printf("Bool is %b@.", x = 0);
() = printf("Test");
o = x - 1;
tel