aboutsummaryrefslogtreecommitdiff
path: root/v_windows/v/vlib/v/checker/tests/void_function_assign_to_string.vv
diff options
context:
space:
mode:
Diffstat (limited to 'v_windows/v/vlib/v/checker/tests/void_function_assign_to_string.vv')
-rw-r--r--v_windows/v/vlib/v/checker/tests/void_function_assign_to_string.vv8
1 files changed, 8 insertions, 0 deletions
diff --git a/v_windows/v/vlib/v/checker/tests/void_function_assign_to_string.vv b/v_windows/v/vlib/v/checker/tests/void_function_assign_to_string.vv
new file mode 100644
index 0000000..fddd5fc
--- /dev/null
+++ b/v_windows/v/vlib/v/checker/tests/void_function_assign_to_string.vv
@@ -0,0 +1,8 @@
+fn x(x int,y int) {
+
+}
+fn main(){
+ mut a := ''
+ a = x(1,2) // hello
+ eprintln('a: $a')
+}