aboutsummaryrefslogtreecommitdiff
path: root/v_windows/v/vlib/v/checker/tests/defer_in_for.out
diff options
context:
space:
mode:
Diffstat (limited to 'v_windows/v/vlib/v/checker/tests/defer_in_for.out')
-rw-r--r--v_windows/v/vlib/v/checker/tests/defer_in_for.out7
1 files changed, 7 insertions, 0 deletions
diff --git a/v_windows/v/vlib/v/checker/tests/defer_in_for.out b/v_windows/v/vlib/v/checker/tests/defer_in_for.out
new file mode 100644
index 0000000..59faded
--- /dev/null
+++ b/v_windows/v/vlib/v/checker/tests/defer_in_for.out
@@ -0,0 +1,7 @@
+vlib/v/checker/tests/defer_in_for.vv:4:13: error: `break` is not allowed in defer statements
+ 2 | for true {
+ 3 | defer {
+ 4 | break
+ | ~~~~~
+ 5 | }
+ 6 | } \ No newline at end of file