diff --git a/src/test/run-pass/vec-ref-count.rs b/src/test/run-pass/vec-ref-count.rs index da6446c25ba..788489362fd 100644 --- a/src/test/run-pass/vec-ref-count.rs +++ b/src/test/run-pass/vec-ref-count.rs @@ -1,11 +1,12 @@ -// xfail-stage0 - use std; import std._vec; fn main() { auto v = vec(1, 2, 3); - check (_vec.refcount[int](v) == 1u); - check (_vec.refcount[int](v) == 1u); + log_err _vec.refcount[int](v); + log_err _vec.refcount[int](v); + log_err _vec.refcount[int](v); + check (_vec.refcount[int](v) == 1u || _vec.refcount[int](v) == 2u); + check (_vec.refcount[int](v) == 1u || _vec.refcount[int](v) == 2u); }