heptagon/test/bad/flatten.ept

18 lines
237 B
Text
Raw Permalink Normal View History

2010-12-14 18:36:54 +01:00
node f(x,y : int; b : bool) returns (z : int)
var t : int;
let
do
var t2,t22 : int; in
t2 = if b then 0 else t22;
2010-12-14 18:36:54 +01:00
do
var t3 : int; in
t3 = y + t;
t22 = t3;
2010-12-14 18:36:54 +01:00
done;
t = x + t2;
done;
z = t;
tel
2011-05-23 14:04:11 +02:00