mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
x64: fn call test
This commit is contained in:
parent
871c29ea5d
commit
10677c2b0c
14
vlib/v/gen/x64/tests/simple_fn_calls.vv
Normal file
14
vlib/v/gen/x64/tests/simple_fn_calls.vv
Normal file
@ -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')
|
||||
}
|
4
vlib/v/gen/x64/tests/simple_fn_calls.vv.out
Normal file
4
vlib/v/gen/x64/tests/simple_fn_calls.vv.out
Normal file
@ -0,0 +1,4 @@
|
||||
start
|
||||
hello from x64
|
||||
123
|
||||
end
|
Loading…
x
Reference in New Issue
Block a user