...
This commit is contained in:
@@ -1,11 +1,17 @@
|
||||
namespace main
|
||||
|
||||
struct Human {
|
||||
name: cstring
|
||||
}
|
||||
|
||||
export func main(args: []cstring): i64 {
|
||||
let x: cstring
|
||||
let human: Human
|
||||
|
||||
x = args[0]
|
||||
human = alloc Human {
|
||||
name = "test"
|
||||
}
|
||||
|
||||
c::puts(x)
|
||||
c::puts(human.name)
|
||||
|
||||
return 0
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user