make t7346 work again
This commit is contained in:
parent
9364369c1f
commit
9a9005622b
2 changed files with 1 additions and 1 deletions
10
tests/destructor/t7346.nim
Normal file
10
tests/destructor/t7346.nim
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
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] = @[]
|
||||
Loading…
Add table
Add a link
Reference in a new issue