blob: dea9a4d5428bec4e3e2d82ca211e83507b546a11 [file] [log] [blame]
//@ run-fail
//@ error-pattern:thread 'main' panicked
//@ error-pattern:attempt to multiply with overflow
//@ needs-subprocess
//@ compile-flags: -C debug-assertions
fn main() {
let _x = 2u32.pow(1024);
}