Bend/tests/golden_tests/compile_file_o_all/match_num_explicit_bind.bend
2024-05-15 00:25:46 +02:00

7 lines
56 B
Plaintext

pred = @n switch n {
0: 0
_: n-1
}
main = (pred 4)