]> git.proxmox.com Git - rustc.git/blame - src/test/run-fail/overflowing-pow-signed.rs
New upstream version 1.33.0+dfsg1
[rustc.git] / src / test / run-fail / overflowing-pow-signed.rs
CommitLineData
5bcae85e 1// error-pattern:thread 'main' panicked at 'attempt to multiply with overflow'
e9174d1e 2// compile-flags: -C debug-assertions
c34b1796 3
e9174d1e
SL
4fn main() {
5 let _x = 2i32.pow(1024);
6}