2020-04-16 15:50:32 +09:00
|
|
|
// run-fail
|
2016-08-06 23:58:16 -04:00
|
|
|
// 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() {
|
2016-07-20 18:23:52 -04:00
|
|
|
let _x = 2u32.pow(1024);
|
2015-09-13 22:19:36 -04:00
|
|
|
}
|