diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2018-09-23 13:41:33 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2018-09-24 16:00:57 +0200 |
commit | 3c461755e263ecaf7810bac25adb5d6d3f4d4a28 (patch) | |
tree | 10dcf419d38f1bc9eb91c01dd74f3863ccfe7492 /tests | |
parent | c1aecb8914b7e14089a3ae817e57ed53bcbba8f2 (diff) | |
download | Nim-3c461755e263ecaf7810bac25adb5d6d3f4d4a28.tar.gz |
enable destructors for top level statements; needs to be documented
Diffstat (limited to 'tests')
-rw-r--r-- | tests/destructor/t6434.nim | 2 | ||||
-rw-r--r-- | tests/destructor/tmove_objconstr.nim | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/tests/destructor/t6434.nim b/tests/destructor/t6434.nim index 1657e90bc..9c912f1f9 100644 --- a/tests/destructor/t6434.nim +++ b/tests/destructor/t6434.nim @@ -2,6 +2,8 @@ discard """ exitcode: 0 output: '''assingment assingment +assingment +assingment ''' """ diff --git a/tests/destructor/tmove_objconstr.nim b/tests/destructor/tmove_objconstr.nim index 178ff2a7d..50aecf46d 100644 --- a/tests/destructor/tmove_objconstr.nim +++ b/tests/destructor/tmove_objconstr.nim @@ -59,4 +59,4 @@ for x in getPony(): echo x # XXX this needs to be enabled once top level statements # produce destructor calls again. -echo "Pony is dying!" +#echo "Pony is dying!" |