]> git.lizzy.rs Git - rust.git/blob - src/test/run-fail/overflowing-rsh-3.rs
Use better bound names in `-Zverbose` mode
[rust.git] / src / test / run-fail / overflowing-rsh-3.rs
1 // error-pattern:thread 'main' panicked at 'attempt to shift right with overflow'
2 // compile-flags: -C debug-assertions
3
4 #![warn(exceeding_bitshifts)]
5 #![warn(const_err)]
6
7 fn main() {
8     let _x = -1_i64 >> 64;
9 }