aboutsummaryrefslogtreecommitdiff
path: root/src/test/run-pass/user.rs
blob: b8a8144c227949acd437939c4e10db2d0029a4f4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// xfail-stage0
// -*- 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);
}