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