rust/tests/ui/loops/for-each-loop-panic.rs
2023-01-11 09:32:08 +00:00

10 lines
146 B
Rust

// run-fail
// error-pattern:moop
// ignore-emscripten no processes
fn main() {
for _ in 0_usize..10_usize {
panic!("moop");
}
}