Nim/tests/seq/t7346.nim
2018-09-12 12:00:01 -05:00

10 lines
No EOL
194 B
Nim

when not defined(nimNewRuntime):
{.error: "This bug could only be reproduced with --newruntime".}
type
Obj = object
a: int
proc `=`(a: var Obj, b: Obj) = discard
let a: seq[Obj] = @[]