rust/tests/coverage/assert_not.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
269 B
Rust
Raw Permalink Normal View History

//@ edition: 2021
// Regression test for <https://github.com/rust-lang/rust/issues/118904>.
// `assert!(true)` and `assert!(!false)` should have similar coverage spans.
fn main() {
assert!(true);
assert!(!false);
assert!(!!true);
assert!(!!!false);
}