aboutsummaryrefslogtreecommitdiff
path: root/v_windows/v/old/vlib/v/checker/tests/selector_expr_assign.vv
diff options
context:
space:
mode:
Diffstat (limited to 'v_windows/v/old/vlib/v/checker/tests/selector_expr_assign.vv')
-rw-r--r--v_windows/v/old/vlib/v/checker/tests/selector_expr_assign.vv8
1 files changed, 8 insertions, 0 deletions
diff --git a/v_windows/v/old/vlib/v/checker/tests/selector_expr_assign.vv b/v_windows/v/old/vlib/v/checker/tests/selector_expr_assign.vv
new file mode 100644
index 0000000..024c869
--- /dev/null
+++ b/v_windows/v/old/vlib/v/checker/tests/selector_expr_assign.vv
@@ -0,0 +1,8 @@
+struct Abc {
+ a int
+}
+
+fn main() {
+ abc := Abc{}
+ abc.a := 2
+}