rust/src/test/run-pass/import-glob-crate.rs
2012-09-05 12:32:05 -07:00

10 lines
141 B
Rust

use std;
use vec::*;
fn main() {
let mut v = from_elem(0u, 0);
v = vec::append(v, ~[4, 2]);
assert (reversed(v) == ~[2, 4]);
}