2020-04-16 15:50:32 +09:00
|
|
|
// run-fail
|
2016-08-04 07:31:06 +05:30
|
|
|
// error-pattern:thread 'main' panicked at 'attempt to multiply with overflow'
|
2020-05-08 00:39:02 +09:00
|
|
|
// ignore-emscripten no processes
|
2015-09-13 22:19:36 -04:00
|
|
|
// compile-flags: -C debug-assertions
|
|
|
|
|
|
|
|
fn main() {
|
|
|
|
let _x = 2i32.pow(1024);
|
|
|
|
}
|