vxx2 / vlib / v / checker / tests / option_with_match_err.vv
7 lines · 7 sloc · 94 bytes · 0c8ce3bcb9fd4a2e5bd5f991a5a07da976d780d7
Raw
1fn main() {
2 mut a := ?int(12)
3 match a {
4 12 { println(a) }
5 else { println('else') }
6 }
7}
8