26 lines
243 B
Plaintext
26 lines
243 B
Plaintext
namespace main
|
|
|
|
struct Human
|
|
{
|
|
name: cstring
|
|
age: i64
|
|
}
|
|
|
|
func test() {
|
|
|
|
}
|
|
|
|
export func main(args: []cstring): i64
|
|
{
|
|
let x: []cstring
|
|
|
|
x = [2]cstring
|
|
|
|
x[0] = "test1"
|
|
x[1] = "test2"
|
|
|
|
c::puts(x[1])
|
|
|
|
return 0
|
|
}
|