Files
circ/scripts/zx_tests/slice_assign.zx
2022-03-25 15:03:09 -07:00

6 lines
120 B
Plaintext

def main() -> u32[4]:
u32[7] foo = [1, 2, 3, 4, 5, 6, 7]
u32[4] bar = [0; 4]
bar = foo[2..6]
return bar