aboutsummaryrefslogtreecommitdiff
path: root/src/test/run-pass/user.rs
blob: d432fbebcf919752df5347a0f363b9be92a81fca (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(uint(10));
  s += "hello ";
  log s;
  s += "there";
  log s;
  auto z = std._vec.alloc[int](uint(10));
}