diff options
author | Araq <rumpf_a@web.de> | 2020-01-26 09:35:52 +0100 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2020-01-26 13:43:02 +0100 |
commit | ab35f07e774c3faaee3708479523e66614eb3aa6 (patch) | |
tree | 2d6e5ba2c46350dd69379273754abf1e6b2ac052 /tests/destructor | |
parent | 6efac70181f54d24627b101ede6c79b8c3e74a96 (diff) | |
download | Nim-ab35f07e774c3faaee3708479523e66614eb3aa6.tar.gz |
ARC: remove unnecessary code
Diffstat (limited to 'tests/destructor')
-rw-r--r-- | tests/destructor/towned_binary_tree.nim | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/destructor/towned_binary_tree.nim b/tests/destructor/towned_binary_tree.nim index 372b1d3d8..3ec80badf 100644 --- a/tests/destructor/towned_binary_tree.nim +++ b/tests/destructor/towned_binary_tree.nim @@ -1,7 +1,7 @@ discard """ - cmd: '''nim c --newruntime $file''' + cmd: '''nim c -d:nimAllocStats --newruntime $file''' output: '''331665 -allocs 0''' +(allocCount: 333335, deallocCount: 333335)''' """ # bug #11053 @@ -87,6 +87,5 @@ proc main() = discard echo res -when isMainModule: +dumpAllocStats: main() - echo "allocs ", allocs |