Bend/tests/golden_tests/desugar_file/switch_with_use.bend
2024-05-15 21:26:16 +02:00

7 lines
127 B
Plaintext

# Test manual linearization of a use term
main =
@x @y use z = (x y); @a @b @c switch a with z {
0: z
_: (a-1 z)
}