This commit is contained in:
nub31
2025-06-15 02:21:11 +02:00
parent 3f7499d2b9
commit 5fffd07077
4 changed files with 35 additions and 90 deletions

View File

@@ -1,11 +1,17 @@
namespace main
struct Human {
name: cstring
}
export func main(args: []cstring): i64 {
let x: cstring
let human: Human
x = args[0]
human = alloc Human {
name = "test"
}
c::puts(x)
c::puts(human.name)
return 0
}