2 // compile-flags: -C debug_assertions=yes
4 // ignore-emscripten dies with an LLVM error
9 macro_rules! overflow_test {
11 let r = panic::catch_unwind(|| {
12 ($t::MAX).next_power_of_two()
16 let r = panic::catch_unwind(|| {
17 (($t::MAX >> 1) + 2).next_power_of_two()