1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
procedure {:inline 1} foo() returns (x: bool) { var b: bool; if (b) { x := false; return; } else { x := true; return; } } procedure main() { var b1: bool; var b2: bool; call b1 := foo(); call b2 := foo(); assert b1 == b2; }