...
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user