diff options
Diffstat (limited to 'v_windows/v/old/vlib/v/checker/tests/if_match_result.vv')
-rw-r--r-- | v_windows/v/old/vlib/v/checker/tests/if_match_result.vv | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/v_windows/v/old/vlib/v/checker/tests/if_match_result.vv b/v_windows/v/old/vlib/v/checker/tests/if_match_result.vv new file mode 100644 index 0000000..ad85b13 --- /dev/null +++ b/v_windows/v/old/vlib/v/checker/tests/if_match_result.vv @@ -0,0 +1,19 @@ +// missing results +_ = match 4 { + 1 {} + else {} +} +_ = if true { +} else { +} + +// void results +_ = match 4 { + 1 {println('')} + else {exit(0)} +} +_ = if true { + println('') +} else { + exit(0) +} |