...
This commit is contained in:
@@ -4,7 +4,6 @@ extern "puts" func puts(text: cstring)
|
||||
|
||||
extern "main" func main(argc: i64, argv: [?]cstring): i64
|
||||
{
|
||||
let x = [10]i32
|
||||
x[0] = 23
|
||||
return 0
|
||||
let x = [23]i32
|
||||
return x[0]
|
||||
}
|
||||
@@ -2,9 +2,9 @@ module "main"
|
||||
|
||||
extern "puts" func puts(text: cstring)
|
||||
|
||||
extern "main" func main(args: []cstring): i64
|
||||
func main(argc: i32, argv: [?]cstring): i32
|
||||
{
|
||||
defer puts("Goodybye World")
|
||||
puts("Hello World")
|
||||
defer puts("Bye cruel world!")
|
||||
puts("Hello world!")
|
||||
return 0
|
||||
}
|
||||
Reference in New Issue
Block a user