aboutsummaryrefslogtreecommitdiff
path: root/v_windows/v/old/vlib/v/checker/tests/unexpected_or.out
diff options
context:
space:
mode:
Diffstat (limited to 'v_windows/v/old/vlib/v/checker/tests/unexpected_or.out')
-rw-r--r--v_windows/v/old/vlib/v/checker/tests/unexpected_or.out6
1 files changed, 6 insertions, 0 deletions
diff --git a/v_windows/v/old/vlib/v/checker/tests/unexpected_or.out b/v_windows/v/old/vlib/v/checker/tests/unexpected_or.out
new file mode 100644
index 0000000..ab1e077
--- /dev/null
+++ b/v_windows/v/old/vlib/v/checker/tests/unexpected_or.out
@@ -0,0 +1,6 @@
+vlib/v/checker/tests/unexpected_or.vv:6:17: error: unexpected `or` block, the function `ret_zero` does not return an optional
+ 4 |
+ 5 | fn main() {
+ 6 | _ = ret_zero() or { 1 }
+ | ~~~~~~~~
+ 7 | }