parent
47e7b8771c
commit
0f6987a86e
2 changed files with 16 additions and 2 deletions
|
|
@ -100,4 +100,18 @@ mkManyLeaks()
|
|||
tsimpleClosureIterator()
|
||||
tleakingNewStmt()
|
||||
leakObjConstr()
|
||||
|
||||
# bug #12964
|
||||
|
||||
type
|
||||
Token* = ref object of RootObj
|
||||
Li* = ref object of Token
|
||||
|
||||
proc bug12964*() =
|
||||
var token = Li()
|
||||
var tokens = @[Token()]
|
||||
tokens.add token
|
||||
|
||||
bug12964()
|
||||
|
||||
echo getOccupiedMem() - startMem
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue