Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
The Miri Conjob Bot committed Feb 18, 2024
1 parent 3ef558e commit 7a83e2f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/tools/miri/tests/pass/overflow_checks_off.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,9 @@
// Miri does not implement the codegen-time hack that backs `#[rustc_inherit_overflow_checks]`.
// use std::ops::*;


// Disable _compile-time_ overflow linting
// so that we can test runtime overflow checks
#![allow(arithmetic_overflow)]
#![allow(arithmetic_overflow)]

fn main() {
assert_eq!(-{ -0x80i8 }, -0x80);
Expand Down

0 comments on commit 7a83e2f

Please sign in to comment.