treturn_array.nim 210 B

1234567891011
  1. # bug #2259
  2. type Mat4f* = array[0..15, float]
  3. proc get_rot_mat*(): Mat4f = discard
  4. var mat: Mat4f = get_rot_mat()
  5. # bug #1389
  6. proc calcSizes(): array[2, int] = discard
  7. let sizes: array[2, int] = calcSizes()