This commit is contained in:
nub31
2025-06-02 19:56:38 +02:00
parent 81fe75446d
commit e874b8e155
7 changed files with 110 additions and 50 deletions

View File

@@ -6,8 +6,12 @@ struct Human {
}
export func main(args: []^string) {
let human = alloc Human {
age = 23
let human = [1]Human
human[0] = alloc Human {
name = "oliver"
age = 123
}
c::printf("%s\n", human[1].name)
}