about summary refs log tree commit diff
path: root/tests/coverage/assert_not.rs
blob: 3d882f97d46ddbead22c6946db95f56943031563 (plain)
1
2
3
4
5
6
7
8
9
10
11
//@ 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);
}