24 lines
295 B
Plaintext
24 lines
295 B
Plaintext
module "main"
|
|
|
|
extern "puts" func puts(text: cstring)
|
|
|
|
struct X
|
|
{
|
|
points: []i32
|
|
}
|
|
|
|
extern "main" func main(argc: i64, argv: [?]cstring): i64
|
|
{
|
|
let f: []cstring = ["1", "2", "3"]
|
|
|
|
puts(f[0])
|
|
puts(f[1])
|
|
puts(f[2])
|
|
|
|
for num in f
|
|
{
|
|
puts(num)
|
|
}
|
|
|
|
return 0
|
|
} |