2021-04-20 17:16:35 +03:00
|
|
|
// fn println(s string) { }
|
2020-01-02 00:34:46 +03:00
|
|
|
|
2021-04-20 17:16:35 +03:00
|
|
|
// fn test_fn() {
|
|
|
|
// println('test fn')
|
2020-01-02 00:34:46 +03:00
|
|
|
//}
|
2019-11-28 16:49:35 +03:00
|
|
|
|
2019-11-19 09:53:52 +03:00
|
|
|
fn main() {
|
2021-04-26 16:39:38 +03:00
|
|
|
println('native test')
|
2021-04-20 17:16:35 +03:00
|
|
|
// i := 0
|
|
|
|
// for i < 5 {
|
|
|
|
for _ in 1 .. 5 {
|
2021-04-26 16:39:38 +03:00
|
|
|
println('Hello world from V native machine code generator!')
|
2021-04-20 17:16:35 +03:00
|
|
|
// i++
|
2019-11-19 09:53:52 +03:00
|
|
|
}
|
2021-04-20 17:16:35 +03:00
|
|
|
/*
|
2019-11-19 09:53:52 +03:00
|
|
|
println('Hello again!')
|
2019-11-29 12:33:04 +03:00
|
|
|
//test_fn()
|
|
|
|
println('done')
|
2020-01-02 00:34:46 +03:00
|
|
|
*/
|
2019-11-19 09:53:52 +03:00
|
|
|
}
|