rust/src/test/run-pass/argv.rs
2011-09-02 22:11:42 -07:00

6 lines
180 B
Rust

fn main(args: [str]) {
let vs: [str] = ["hi", "there", "this", "is", "a", "vec"];
let vvs: [[str]] = [args, vs];
for vs: [str] in vvs { for s: str in vs { log s; } }
}