aboutsummaryrefslogtreecommitdiff
path: root/v_windows/v/vlib/v/checker/tests/if_expr_no_else.vv
diff options
context:
space:
mode:
Diffstat (limited to 'v_windows/v/vlib/v/checker/tests/if_expr_no_else.vv')
-rw-r--r--v_windows/v/vlib/v/checker/tests/if_expr_no_else.vv3
1 files changed, 3 insertions, 0 deletions
diff --git a/v_windows/v/vlib/v/checker/tests/if_expr_no_else.vv b/v_windows/v/vlib/v/checker/tests/if_expr_no_else.vv
new file mode 100644
index 0000000..d416cc9
--- /dev/null
+++ b/v_windows/v/vlib/v/checker/tests/if_expr_no_else.vv
@@ -0,0 +1,3 @@
+fn main() {
+ _ = if true { 1 }
+}