aboutsummaryrefslogtreecommitdiff
path: root/v_windows/v/old/vlib/v/checker/tests/defer_in_for.vv
diff options
context:
space:
mode:
Diffstat (limited to 'v_windows/v/old/vlib/v/checker/tests/defer_in_for.vv')
-rw-r--r--v_windows/v/old/vlib/v/checker/tests/defer_in_for.vv7
1 files changed, 7 insertions, 0 deletions
diff --git a/v_windows/v/old/vlib/v/checker/tests/defer_in_for.vv b/v_windows/v/old/vlib/v/checker/tests/defer_in_for.vv
new file mode 100644
index 0000000..bb2525f
--- /dev/null
+++ b/v_windows/v/old/vlib/v/checker/tests/defer_in_for.vv
@@ -0,0 +1,7 @@
+fn main() {
+ for true {
+ defer {
+ break
+ }
+ }
+} \ No newline at end of file