Fix alt-pattern-drop's breakage from af2d01e

This commit is contained in:
Ben Blum 2012-06-28 15:59:43 -04:00
parent ae7b0ac390
commit 58a39d1ca3

View file

@ -28,5 +28,7 @@ fn main() {
foo(s); // ref up then down
log(debug, sys::refcount(s));
assert (sys::refcount(s) == count);
let count2 = sys::refcount(s);
let _ = sys::refcount(s); // don't get bitten by last-use.
assert count == count2;
}