2024-02-22 06:10:29 -06:00
|
|
|
LL| |//@ edition: 2021
|
2023-12-16 03:57:20 -06:00
|
|
|
LL| |
|
|
|
|
LL| |// Regression test for <https://github.com/rust-lang/rust/issues/118904>.
|
|
|
|
LL| |// `assert!(true)` and `assert!(!false)` should have similar coverage spans.
|
|
|
|
LL| |
|
|
|
|
LL| 1|fn main() {
|
|
|
|
LL| 1| assert!(true);
|
|
|
|
LL| 1| assert!(!false);
|
|
|
|
LL| 1| assert!(!!true);
|
|
|
|
LL| 1| assert!(!!!false);
|
|
|
|
LL| 1|}
|
|
|
|
|