heptagon/test/bad/flatten.ept
Cédric Pasteur 6ba0e7b2b3 Don't remove local variables in causality
A dependency between two variables can be caused 
by a local variable
2011-10-26 16:14:02 +02:00

17 lines
237 B
Text

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;
do
var t3 : int; in
t3 = y + t;
t22 = t3;
done;
t = x + t2;
done;
z = t;
tel