...
This commit is contained in:
10
examples/array/main.nub
Normal file
10
examples/array/main.nub
Normal file
@@ -0,0 +1,10 @@
|
||||
module "main"
|
||||
|
||||
extern "puts" func puts(text: cstring)
|
||||
|
||||
extern "main" func main(argc: i64, argv: [?]cstring): i64
|
||||
{
|
||||
let x: [?]i32 = [10]i32
|
||||
x[0] = 23
|
||||
return 0
|
||||
}
|
||||
Reference in New Issue
Block a user