v2 / vlib / v / parser / tests / match_invalid_case_expr_err.vv
9 lines · 9 sloc · 96 bytes · fab65047d3bced165c79cea5fa49828ccefced1b
Raw
1fn test_match_invalid_case_expr() {
2 x := 1
3 match true {
4 x > {
5 y := 0
6 }
7 else {}
8 }
9}
10