2011-08-31 07:24:08 -05:00
|
|
|
// xfail-stage1
|
|
|
|
// xfail-stage2
|
|
|
|
// xfail-stage3
|
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;
|
2011-08-13 02:10:18 -05:00
|
|
|
auto z = std::vec.alloc::<int>(10 as uint);
|
2011-07-27 07:48:34 -05:00
|
|
|
}
|