aboutsummaryrefslogtreecommitdiff
path: root/tests/conformance/6-ownership/overwrite_leaks.zc
Commit message (Collapse)AuthorAgeFilesLines
* destructors: reassigning an m owner that still holds a value frees the old ↵Gravatar zinc 13 days1-6/+0
| | | | value first, running its drop (right side first, then the free, then the store), with hint: x: reassigning frees the old value; a new value that is part of the old one is an error; u, d and captured owners keep the leak error; the new value's size, leaf type and drop are recorded like a declaration's; spec 6.8.5, 6.15.2
* conformance: port the previous agent's suite, fix six expectations, add ↵Gravatar zinc 13 days1-0/+6
sections 5 to 8 and appendix b, known.txt, zc0 skips, wire into test.sh