mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
x64: rename to native
to not conflict with the x64 comptime variable
This commit is contained in:
parent
7587458521
commit
6750ed254f
33 changed files with 90 additions and 85 deletions
20
examples/native/hello_world.v
Normal file
20
examples/native/hello_world.v
Normal file
|
@ -0,0 +1,20 @@
|
|||
// fn println(s string) { }
|
||||
|
||||
// fn test_fn() {
|
||||
// println('test fn')
|
||||
//}
|
||||
|
||||
fn main() {
|
||||
println('native test')
|
||||
// i := 0
|
||||
// for i < 5 {
|
||||
for _ in 1 .. 5 {
|
||||
println('Hello world from V native machine code generator!')
|
||||
// i++
|
||||
}
|
||||
/*
|
||||
println('Hello again!')
|
||||
//test_fn()
|
||||
println('done')
|
||||
*/
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue