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
|
2025-01-23 16:36:54 +08:00
|
|
|
//@ needs-subprocess
|
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
|
|
|
}
|