2024-02-22 06:10:29 -06:00
|
|
|
//@ edition: 2021
|
2023-12-16 03:57:20 -06:00
|
|
|
|
|
|
|
// 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);
|
|
|
|
}
|