...
This commit is contained in:
@@ -13,17 +13,9 @@ struct Human
|
||||
|
||||
export func main(args: []cstring): i64
|
||||
{
|
||||
let x: Human = alloc Human
|
||||
{
|
||||
name = alloc Name
|
||||
{
|
||||
first = "john"
|
||||
last = "doe"
|
||||
}
|
||||
age = 23
|
||||
}
|
||||
let x: cstring = "test"
|
||||
|
||||
c::puts(x.name.last)
|
||||
c::puts(x)
|
||||
|
||||
return 0
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user