summary refs log tree commit diff stats
path: root/tests/destructor/tsimpleclosure.nim
diff options
context:
space:
mode:
authorTimothee Cour <timothee.cour2@gmail.com>2020-05-29 08:10:59 -0700
committerGitHub <noreply@github.com>2020-05-29 17:10:59 +0200
commit63d1a0289e872212e836559f92a785df51f4faac (patch)
tree960e19edc865d06af5225e382d4212e2ee2d6b30 /tests/destructor/tsimpleclosure.nim
parente646c16e06e95855a92c1d2453f6f927555aed7e (diff)
downloadNim-63d1a0289e872212e836559f92a785df51f4faac.tar.gz
fix #14421 items uses lent T (#14447)
* fix #14421 items uses lent T for seq + openArray
* add -d:nimWorkaround14447
* fix test
Diffstat (limited to 'tests/destructor/tsimpleclosure.nim')
-rw-r--r--tests/destructor/tsimpleclosure.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/destructor/tsimpleclosure.nim b/tests/destructor/tsimpleclosure.nim
index 4916f4bab..35c57a634 100644
--- a/tests/destructor/tsimpleclosure.nim
+++ b/tests/destructor/tsimpleclosure.nim
@@ -5,7 +5,7 @@ discard """
 hello
 hello
 hello
-(allocCount: 4, deallocCount: 4)'''
+(allocCount: 3, deallocCount: 3)'''
 """
 
 import system / ansi_c