2020-04-16 15:50:32 +09:00
|
|
|
//@ run-fail
|
2023-06-20 19:16:18 +02:00
|
|
|
//@ error-pattern:thread 'main' panicked
|
|
|
|
//@ error-pattern: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
|
|
|
}
|