2024-02-16 20:02:50 +00:00
|
|
|
//@ run-fail
|
|
|
|
|
//@ error-pattern:thread 'main' panicked
|
|
|
|
|
//@ error-pattern:attempt to multiply with overflow
|
2025-01-23 16:36:54 +08:00
|
|
|
//@ needs-subprocess
|
2024-02-16 20:02:50 +00:00
|
|
|
//@ compile-flags: -C debug-assertions
|
2015-09-13 22:19:36 -04:00
|
|
|
|
|
|
|
|
fn main() {
|
2016-07-20 18:23:52 -04:00
|
|
|
let _x = 2u32.pow(1024);
|
2015-09-13 22:19:36 -04:00
|
|
|
}
|