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

16 lines
287 B
Rust

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