summaryrefslogtreecommitdiffstats
path: root/tests/ui/loops/for-each-loop-panic.rs
blob: 5156999f4db9c0d8ada08717d1c22a13d6a6ca66 (plain)
1
2
3
4
5
6
7
8
9
// run-fail
// error-pattern:moop
// ignore-emscripten no processes

fn main() {
    for _ in 0_usize..10_usize {
        panic!("moop");
    }
}