...
This commit is contained in:
@@ -8,10 +8,24 @@ export func main(args: []cstring): i64 {
|
||||
let human: Human
|
||||
|
||||
human = alloc Human {
|
||||
name = "test"
|
||||
name = "member"
|
||||
}
|
||||
|
||||
c::puts(human.name)
|
||||
|
||||
c::puts("literal")
|
||||
|
||||
let x: cstring
|
||||
|
||||
x = "variable"
|
||||
|
||||
c::puts(x)
|
||||
|
||||
let y: func(cstring)
|
||||
|
||||
y = c::puts
|
||||
|
||||
y("proxy")
|
||||
|
||||
return 0
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user