aboutsummaryrefslogtreecommitdiff
path: root/src/test/run-pass/argv.rs
blob: 92d5fcc6e664865d6e3d9011b623d4ebd188576f (plain) (blame)
1
2
3
4
5
6
7
8
9
fn main(vec[str] args) {
  let vec[str] vs = vec("hi", "there", "this", "is", "a", "vec");
  let vec[vec[str]] vvs = vec(args, vs);
  for (vec[str] vs in vvs) {
    for (str s in vs) {
      log s;
    }
  }
}