3 // ignore-wasm32-bare compiled with panic=abort by default
4 // compile-flags: -C debug_assertions=yes
9 let r = panic::catch_unwind(|| {
10 let mut it = u8::MAX..;
11 it.next().unwrap(); // 255
16 let r = panic::catch_unwind(|| {
17 let mut it = i8::MAX..;
18 it.next().unwrap(); // 127