Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (11 sloc) 245 Bytes
/**
* Converting from a raw C array to an array by casting
*/
main: func {
pointer := [10, 11, 12] as Int*
array := pointer as Int[3]
for(i in 0..array length) {
printf("%d ", array[i])
}
println()
}