diff options
| author | 2026-10-15 18:29:55 +0330 | |
|---|---|---|
| committer | 2026-10-15 18:29:55 +0330 | |
| commit | e7fe081efaae893ed46548fdbc3bfa39b2879878 (patch) | |
| tree | ad2e3804bcbc6493d7152f68e91f17d4b357c73e /tests/conformance/6-ownership/drop_gc_cycle.zc | |
| parent | constant expressions: c precedence and / % ^ (b.1.3); local const usable in c... (diff) | |
duplicate case labels are an error (b.2.15); unterminated string literal reported where it starts (b.2.11); an unreachable droppable cycle drops whole in one collection (6.15.3)
Diffstat (limited to 'tests/conformance/6-ownership/drop_gc_cycle.zc')
| -rw-r--r-- | tests/conformance/6-ownership/drop_gc_cycle.zc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/conformance/6-ownership/drop_gc_cycle.zc b/tests/conformance/6-ownership/drop_gc_cycle.zc index 01db6b8..d31dc6b 100644 --- a/tests/conformance/6-ownership/drop_gc_cycle.zc +++ b/tests/conformance/6-ownership/drop_gc_cycle.zc @@ -1,5 +1,5 @@ -// expect: 0 1 2 2 0/ -// destructors 6.15.3: two unreachable values with drops that reach each other are finalized one per collection (each is in a cycle, so nothing outside it drops first), each exactly once, then freed +// expect: 0 2 2 2 0/ +// destructors 6.15.3: two unreachable values with drops that reach each other are both finalized in one collection (each is in a cycle, so nothing outside it drops first), each exactly once, then freed include rt; int n; word g; |
