heptagon/test/good/statics.ept
2010-08-18 10:14:20 +02:00

20 lines
215 B
Text

const c:int = 3
fun f<<n:int>>() returns (y:int)
let
y = n + 3;
tel
fun g<<m:int>>() returns (y:int)
var x:int;
let
x = m + f<<2>>();
y = f<<m>>();
tel
fun h() returns (y:int)
let
y = c + g<<c>>();
tel