f9f354fc |
1 | // run-fail |
add651ee FG |
2 | // error-pattern:thread 'main' panicked |
3 | // error-pattern:attempt to multiply with overflow |
f9f354fc |
4 | // ignore-emscripten no processes |
e9174d1e |
5 | // compile-flags: -C debug-assertions |
c34b1796 |
6 | |
e9174d1e SL |
7 | fn main() { |
8 | let _x = 2i32.pow(1024); |
9 | } |