1
1
mirror of https://github.com/anoma/juvix.git synced 2025-01-05 22:46:08 +03:00
juvix/tests/VampIR/positive/Core/test028.jvc

15 lines
241 B
Plaintext
Raw Normal View History

-- let hoisting
\(a : Int) \(b : Int)
let x : Int :=
let y : Int := b + a in
let z : Int := b + a in
b + a + y + z
in
let x2 : Int :=
let y2 : Int := b + a + x in
let z2 : Int := b + a in
b + a + y2 + z2
in
x + a + b + x2