aboutsummaryrefslogtreecommitdiff
path: root/v_windows/v/vlib/os/bare/bare_example_linux.v
blob: 0aa92ddc62f7739a009cafb0422f7d21cab84138 (plain)
1
2
3
4
5
6
7
8
fn main() {
	sys_write(1, 'hello\n'.str, 6)
	s := 'test string\n'
	sys_write(1, s.str, u64(s.len))
	a := s[0]
	println('Hello freestanding!')
	println(a)
}