2024-06-12 07:48:11 -05:00
|
|
|
LL| |//@ edition: 2021
|
|
|
|
LL| |
|
|
|
|
LL| 1|fn main() {
|
2024-06-09 10:33:33 -05:00
|
|
|
LL| | loop {
|
2024-06-12 07:48:11 -05:00
|
|
|
LL| 1| if core::hint::black_box(true) {
|
|
|
|
LL| 1| break;
|
|
|
|
LL| 0| }
|
|
|
|
LL| | }
|
|
|
|
LL| 1|}
|
|
|
|
LL| |
|
|
|
|
LL| |// This test is a lightly-modified version of `tests/mir-opt/coverage/instrument_coverage.rs`.
|
|
|
|
LL| |// If this test needs to be blessed, then the mir-opt version probably needs to
|
|
|
|
LL| |// be blessed too!
|
|
|
|
|