]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0080.rs
Merge commit '98e2b9f25b6db4b2680a3d388456d9f95cb28344' into clippyup
[rust.git] / src / test / ui / error-codes / E0080.rs
1 enum Enum {
2     X = (1 << 500), //~ ERROR E0080
3     //~| attempt to shift left by `500_i32`, which would overflow
4     Y = (1 / 0) //~ ERROR E0080
5 }
6
7 fn main() {
8 }