ref: e3ee0361d0918fbf3d92ef7c4123cf6b0d9265a7
dir: /test/matchint.myr/
use std
/* checks that matching integers works. exits with 84. */
const main = {
var v
v = 12
match 12
1:
-> 42
;;
2:
-> 81
;;
3:
-> 123
;;
4:
-> 99
;;
12:
-> 84
;;
6:
-> 18
;;
;;
}