2020-04-16 01:50:32 -05:00
|
|
|
// run-fail
|
2023-06-20 12:16:18 -05:00
|
|
|
// error-pattern:thread 'main' panicked
|
|
|
|
// error-pattern:attempt to multiply with overflow
|
2020-05-07 10:39:02 -05:00
|
|
|
// ignore-emscripten no processes
|
2015-09-13 21:19:36 -05:00
|
|
|
// compile-flags: -C debug-assertions
|
|
|
|
|
|
|
|
fn main() {
|
2016-07-20 17:23:52 -05:00
|
|
|
let _x = 2u32.pow(1024);
|
2015-09-13 21:19:36 -05:00
|
|
|
}
|