This commit is contained in:
nub31
2025-09-16 18:22:20 +02:00
parent 826f8ffad3
commit 9c1cdf19e6
7 changed files with 349 additions and 422 deletions

View File

@@ -2,6 +2,11 @@ module "main"
extern "puts" func puts(text: cstring)
struct Human
{
name: cstring
}
extern "main" func main(args: []cstring): i64
{
let x = [2]cstring
@@ -14,5 +19,16 @@ extern "main" func main(args: []cstring): i64
puts(u)
}
let me: Human = {
name = "test"
}
puts(me.name)
return 0
}
func test()
{
}