aboutsummaryrefslogtreecommitdiff
path: root/v_windows/v/old/examples/native/hello_world.v
blob: f2be9599b4125c1bb3ced5598d7a77b8510ea991 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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')
	*/
}