aboutsummaryrefslogtreecommitdiff
path: root/v_windows/v/old/vlib/v/checker/tests/match_else_last_expr.vv
diff options
context:
space:
mode:
Diffstat (limited to 'v_windows/v/old/vlib/v/checker/tests/match_else_last_expr.vv')
-rw-r--r--v_windows/v/old/vlib/v/checker/tests/match_else_last_expr.vv7
1 files changed, 7 insertions, 0 deletions
diff --git a/v_windows/v/old/vlib/v/checker/tests/match_else_last_expr.vv b/v_windows/v/old/vlib/v/checker/tests/match_else_last_expr.vv
new file mode 100644
index 0000000..3aa5cc5
--- /dev/null
+++ b/v_windows/v/old/vlib/v/checker/tests/match_else_last_expr.vv
@@ -0,0 +1,7 @@
+fn main() {
+ match 1 {
+ 1 { println('1') }
+ else { println('else') }
+ 4 { println('4') }
+ }
+}