v/vlib/os/bare/bare_example_linux.v

8 lines
144 B
V

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!')
}