]> git.proxmox.com Git - rustc.git/blame - src/test/ui/numbers-arithmetic/overflowing-lsh-3.rs
Update unsuspicious file list
[rustc.git] / src / test / ui / numbers-arithmetic / overflowing-lsh-3.rs
CommitLineData
f9f354fc
XL
1// build-fail
2// compile-flags: -C debug-assertions
3
2b03887a 4#![deny(arithmetic_overflow)]
f9f354fc
XL
5
6fn main() {
7 let _x = 1_u64 << 64;
8 //~^ ERROR: this arithmetic operation will overflow
9}