roc/compiler/test_mono/generated/if_multi_branch.txt
ayazhafiz e655ab7d3b Module comments for reset-reuse
Figuring out what this module was doing, and why, took me a bit less
than half an hour. We should document what's happening for others in the
future so they don't need to follow up on Zulip necessarily.
2022-01-13 16:33:23 -05:00

13 lines
385 B
Text

procedure Test.0 ():
let Test.6 : Builtin(Bool) = true;
if Test.6 then
let Test.7 : Builtin(Int(I64)) = 1i64;
ret Test.7;
else
let Test.4 : Builtin(Bool) = false;
if Test.4 then
let Test.5 : Builtin(Int(I64)) = 2i64;
ret Test.5;
else
let Test.3 : Builtin(Int(I64)) = 3i64;
ret Test.3;