This commit is contained in:
nub31
2025-07-02 23:39:44 +02:00
parent 291e882a4b
commit bd26ed94e4
2 changed files with 56 additions and 7 deletions

View File

@@ -8,14 +8,11 @@ struct Human
export func main(args: []cstring): i64
{
let x: Human
let x: cstring
x = alloc Human {
name = "John"
age = 32
}
x = "john"
c::puts(x.name)
c::puts(x)
return 0
}