diff --git a/vlib/v/gen/x64/tests/simple_fn_calls.vv b/vlib/v/gen/x64/tests/simple_fn_calls.vv new file mode 100644 index 0000000000..5ac4246626 --- /dev/null +++ b/vlib/v/gen/x64/tests/simple_fn_calls.vv @@ -0,0 +1,14 @@ +fn print_greeting(){ + println('hello from x64') +} + +fn print_number() { + println('123') +} + +fn main() { + println('start') + print_greeting() + print_number() + println('end') +} diff --git a/vlib/v/gen/x64/tests/simple_fn_calls.vv.out b/vlib/v/gen/x64/tests/simple_fn_calls.vv.out new file mode 100644 index 0000000000..761cb66834 --- /dev/null +++ b/vlib/v/gen/x64/tests/simple_fn_calls.vv.out @@ -0,0 +1,4 @@ +start +hello from x64 +123 +end