]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0080.rs
Merge commit '1411a98352ba6bee8ba3b0131c9243e5db1e6a2e' into sync_cg_clif-2021-12-31
[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 }