diff options
author | flywind <xzsflywind@gmail.com> | 2021-04-06 22:20:01 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-06 16:20:01 +0200 |
commit | 7bfb9f00022513c2d0f4f93799c07be7e9ffa1e6 (patch) | |
tree | b4bd4353829491d22b0cc6cde0b7d7c6efb7351e /tests/parallel | |
parent | aa4f18eff0344c4de828c1e22e440c0734113086 (diff) | |
download | Nim-7bfb9f00022513c2d0f4f93799c07be7e9ffa1e6.tar.gz |
close #17636 (#17643)
Diffstat (limited to 'tests/parallel')
-rw-r--r-- | tests/parallel/tgc_unsafe2.nim | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/parallel/tgc_unsafe2.nim b/tests/parallel/tgc_unsafe2.nim index 40af728fb..7d98dafcb 100644 --- a/tests/parallel/tgc_unsafe2.nim +++ b/tests/parallel/tgc_unsafe2.nim @@ -1,9 +1,8 @@ discard """ errormsg: "'consumer' is not GC-safe as it calls 'track'" - line: 28 - nimout: '''tgc_unsafe2.nim(22, 6) Warning: 'trick' is not GC-safe as it accesses 'global' which is a global using GC'ed memory [GcUnsafe2] -tgc_unsafe2.nim(26, 6) Warning: 'track' is not GC-safe as it calls 'trick' [GcUnsafe2] -tgc_unsafe2.nim(28, 6) Error: 'consumer' is not GC-safe as it calls 'track' + nimout: '''tgc_unsafe2.nim(21, 6) Warning: 'trick' is not GC-safe as it accesses 'global' which is a global using GC'ed memory [GcUnsafe2] +tgc_unsafe2.nim(25, 6) Warning: 'track' is not GC-safe as it calls 'trick' [GcUnsafe2] +tgc_unsafe2.nim(27, 6) Error: 'consumer' is not GC-safe as it calls 'track' ''' """ |