os-rust/tests/ui/loops/for-each-loop-panic.rs

10 lines
149 B
Rust
Raw Normal View History

//@ run-fail
//@ error-pattern:moop
//@ ignore-emscripten no processes
2016-05-27 08:09:36 +05:30
fn main() {
for _ in 0_usize..10_usize {
panic!("moop");
}
}