rust/src/test/run-pass/for-loop-fail.rs
2012-07-01 19:19:32 -07:00

2 lines
68 B
Rust

fn main() { let x: ~[int] = ~[]; for x.each |_i| { fail "moop"; } }