vxx2 / vlib / v / checker / tests / match_undefined_cond.vv
8 lines · 8 sloc · 89 bytes · b85782b7e7893480e3b193fe67e7404667394290
Raw
1fn main() {
2 res := match asd {
3 1 { 'foo' }
4 2 { 'test' }
5 else { '' }
6 }
7 _ = res
8}
9