rust/src/test/run-pass/user.rs

16 lines
281 B
Rust
Raw Normal View History

// xfail-test
2011-07-27 07:48:34 -05:00
// -*- rust -*-
use std (name = "std",
url = "http://rust-lang.org/src/std",
uuid = _, ver = _);
fn main() {
auto s = std::str.alloc(10 as uint);
s += "hello ";
log s;
s += "there";
log s;
auto z = std::vec.alloc::<int>(10 as uint);
2011-07-27 07:48:34 -05:00
}