]>
git.proxmox.com Git - rustc.git/blob - src/test/run-fail/overflowing-rsh-6.rs
1 // error-pattern:thread 'main' panicked at 'attempt to shift right with overflow'
2 // compile-flags: -C debug-assertions
4 #![warn(arithmetic_overflow)]
6 #![feature(const_indexing)]
9 let _n
= 1i64 >> [64][0];