aboutsummaryrefslogtreecommitdiff
path: root/v_windows/v/vlib/v/checker/tests/function_arg_redefinition.vv
diff options
context:
space:
mode:
Diffstat (limited to 'v_windows/v/vlib/v/checker/tests/function_arg_redefinition.vv')
-rw-r--r--v_windows/v/vlib/v/checker/tests/function_arg_redefinition.vv7
1 files changed, 7 insertions, 0 deletions
diff --git a/v_windows/v/vlib/v/checker/tests/function_arg_redefinition.vv b/v_windows/v/vlib/v/checker/tests/function_arg_redefinition.vv
new file mode 100644
index 0000000..0618fba
--- /dev/null
+++ b/v_windows/v/vlib/v/checker/tests/function_arg_redefinition.vv
@@ -0,0 +1,7 @@
+fn f(para1 int, para1 f32) int {
+ return para1
+}
+
+fn main() {
+ a := f(11, 1.1)
+}