2019-11-15 01:17:47 +01:00
|
|
|
fn main() {
|
2019-12-04 09:46:09 +01:00
|
|
|
sys_write(1, 'hello\n'.str, 6)
|
|
|
|
s := 'test string\n'
|
|
|
|
sys_write(1, s.str, u64(s.len))
|
2019-11-16 21:22:40 +01:00
|
|
|
a := s[0]
|
2020-10-14 23:39:09 +02:00
|
|
|
println('Hello freestanding!')
|
2019-11-15 01:17:47 +01:00
|
|
|
}
|