mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 02:33:55 +00:00
12 lines
269 B
Rust
12 lines
269 B
Rust
|
//@ 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);
|
||
|
}
|