tcopyprotected_arrayinit.nim 139 B

1234567891011
  1. type
  2. Bar = object
  3. b: int = 1
  4. Foo = object
  5. f: array[1, Bar]
  6. proc `=copy`(dest: var Bar, source: Bar) {.error.}
  7. discard Foo()