mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-30 04:56:25 +03:00
Remove run-pass/vec-ref-count.rs
This test will be irellevant when vecs are gone
This commit is contained in:
@@ -1,12 +0,0 @@
|
||||
|
||||
use std;
|
||||
import std::vec;
|
||||
|
||||
fn main() {
|
||||
let v = [1, 2, 3];
|
||||
log_err vec::refcount[int](v);
|
||||
log_err vec::refcount[int](v);
|
||||
log_err vec::refcount[int](v);
|
||||
assert (vec::refcount[int](v) == 1u || vec::refcount[int](v) == 2u);
|
||||
assert (vec::refcount[int](v) == 1u || vec::refcount[int](v) == 2u);
|
||||
}
|
||||
Reference in New Issue
Block a user