2 // only-32bit too impatient for 2⁶⁴ items
3 // ignore-wasm32-bare compiled with panic=abort by default
4 // compile-flags: -C debug_assertions=yes -C opt-level=3
9 assert_eq!((0..usize::MAX).by_ref().count(), usize::MAX);
11 let r = panic::catch_unwind(|| {
12 (0..=usize::MAX).by_ref().count()