1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

freestanding: add core linux syscalls and associated tests

This commit is contained in:
Dwight Schauer
2019-11-23 10:35:57 -06:00
committed by Alexander Medvednikov
parent 666509623e
commit e724792a67
9 changed files with 779 additions and 9 deletions

View File

@@ -0,0 +1,15 @@
module main
fn check_string_eq () {
println ("checking string_eq")
assert "monkey" != "rat"
some_animal := "a bird"
assert some_animal == "a bird"
println ("string_eq passed")
}
fn main () {
check_string_eq ()
sys_exit(0)
}