rust/tests/run-make/const-prop-lint/input.rs

6 lines
68 B
Rust
Raw Normal View History

#![deny(arithmetic_overflow)]
fn main() {
let x = 255u8 + 1;
}