heptagon/test/good/t6.ept

17 lines
226 B
Text
Raw Normal View History

2010-06-21 12:11:06 +02:00
node f(x,z:int) returns (o1,o2:int)
var o4:int;
let
switch (x = z)
| true do
o1 = 0 -> pre o1 + 2;
2011-05-23 14:04:11 +02:00
o2 = o4 + 1;
o4 = 3
| false do
o1 = 4;
2011-05-23 14:04:11 +02:00
o2 = 5;
o4 = 5
2010-06-21 12:11:06 +02:00
end;
tel