rust/src/test/run-pass/argv.rs
2010-06-23 21:03:09 -07:00

10 lines
210 B
Rust

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;
}
}
}