suicmez/tests/fixed_arrays.sui
2025-12-20 01:54:24 +05:30

6 lines
No EOL
102 B
Text

# Fixed array test
fn main() -> int do
let arr: [int; 5] = [42; 5];
let x = arr[2];
x
end