summary refs log tree commit diff stats
path: root/tests/seq/t7346.nim
blob: ef2fd5b7994fdf91f024780ec2a3525ad5074dfe (plain) (blame)
1
2
3
4
5
6
7
8
9
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] = @[]