blob: 0d19f02a9f1087c1b1c49af561cee054d8d416c1 [file] [log] [blame]
enum Enum {
X = (1 << 500), //~ ERROR attempt to shift left by `500_i32`, which would overflow
Y = (1 / 0), //~ ERROR attempt to divide `1_isize` by zero
}
fn main() {}