1
1
mirror of https://github.com/anoma/juvix.git synced 2024-12-12 04:43:18 +03:00
juvix/tests/VampIR/positive/Core/test028.jvc
2023-05-16 13:42:44 +02:00

15 lines
241 B
Plaintext

-- 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