fix incremental tests

This commit is contained in:
Ralf Jung 2020-02-15 23:02:58 +01:00
parent b6aaacd991
commit 97cc3a229b

View file

@ -2,8 +2,8 @@
// compile-flags: -Coverflow-checks=on
// build-pass (FIXME(62277): could be check-pass?)
#![warn(const_err)]
#![warn(overflow)]
fn main() {
let _ = 255u8 + 1; //~ WARNING attempt to add with overflow
let _ = 255u8 + 1; //~ WARNING operation will overflow
}