aboutsummaryrefslogtreecommitdiff
path: root/v_windows/v/vlib/v/checker/tests/assign_expr_undefined_err_i.vv
diff options
context:
space:
mode:
Diffstat (limited to 'v_windows/v/vlib/v/checker/tests/assign_expr_undefined_err_i.vv')
-rw-r--r--v_windows/v/vlib/v/checker/tests/assign_expr_undefined_err_i.vv4
1 files changed, 4 insertions, 0 deletions
diff --git a/v_windows/v/vlib/v/checker/tests/assign_expr_undefined_err_i.vv b/v_windows/v/vlib/v/checker/tests/assign_expr_undefined_err_i.vv
new file mode 100644
index 0000000..26d689e
--- /dev/null
+++ b/v_windows/v/vlib/v/checker/tests/assign_expr_undefined_err_i.vv
@@ -0,0 +1,4 @@
+fn main() {
+ mut a := []int{init: a}
+ println(a)
+}