mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-18 03:25:55 +00:00
13 lines
424 B
Plaintext
13 lines
424 B
Plaintext
LL| |//@ edition: 2021
|
|
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|}
|
|
|