rust/src/test/run-pass/for-loop-fail.rs
2011-07-05 16:05:38 -07:00

8 lines
95 B
Rust

// xfail-stage0
fn main() {
let vec[int] x = [];
for (int i in x) {
fail "moop";
}
}