rust/src/test/run-pass/import-glob-crate.rs

9 lines
115 B
Rust
Raw Normal View History

2011-05-23 20:52:55 -05:00
use std;
import std::vec::*;
fn main() {
auto v = empty[int]();
v += [4,2];
assert(reversed(v) == [2,4]);
}