parent
f2e8c39e85
commit
ce7f29e8e6
6 changed files with 31 additions and 22 deletions
|
|
@ -75,5 +75,13 @@ proc selfAssign =
|
|||
|
||||
selfAssign()
|
||||
|
||||
# bug #11833
|
||||
type FooAt = object
|
||||
|
||||
proc testWrongAt() =
|
||||
var x = @[@[FooAt()]]
|
||||
|
||||
testWrongAt()
|
||||
|
||||
let (a, d) = allocCounters()
|
||||
discard cprintf("%ld new: %ld\n", a - unpairedEnvAllocs() - d, allocs)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue