This commit is contained in:
nub31
2025-10-22 22:17:54 +02:00
parent caacf3d402
commit b59ca29792
3 changed files with 15 additions and 11 deletions

View File

@@ -2,16 +2,22 @@ module "main"
extern "puts" func puts(text: cstring)
struct X
{
points: []i32
}
extern "main" func main(argc: i64, argv: [?]cstring): i64
{
let names: []cstring = ["test", "test2"]
let f: []cstring = ["1", "2", "3"]
puts(names[0])
puts(names[1])
puts(f[0])
puts(f[1])
puts(f[2])
for name, i in names
for num in f
{
puts(name)
puts(num)
}
return 0