rust/src/test/run-pass/import-glob-crate.rs
2011-07-27 15:54:33 +02:00

9 lines
123 B
Rust

use std;
import std::vec::*;
fn main() {
let v = empty[int]();
v += [4, 2];
assert (reversed(v) == [2, 4]);
}