summaryrefslogtreecommitdiffstats
path: root/tests/run-coverage/conditions.coverage
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-30 03:59:35 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-30 03:59:35 +0000
commitd1b2d29528b7794b41e66fc2136e395a02f8529b (patch)
treea4a17504b260206dec3cf55b2dca82929a348ac2 /tests/run-coverage/conditions.coverage
parentReleasing progress-linux version 1.72.1+dfsg1-1~progress7.99u1. (diff)
downloadrustc-d1b2d29528b7794b41e66fc2136e395a02f8529b.tar.xz
rustc-d1b2d29528b7794b41e66fc2136e395a02f8529b.zip
Merging upstream version 1.73.0+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/run-coverage/conditions.coverage')
-rw-r--r--tests/run-coverage/conditions.coverage174
1 files changed, 87 insertions, 87 deletions
diff --git a/tests/run-coverage/conditions.coverage b/tests/run-coverage/conditions.coverage
index 2d8a98a5d..4749c353a 100644
--- a/tests/run-coverage/conditions.coverage
+++ b/tests/run-coverage/conditions.coverage
@@ -1,94 +1,94 @@
- 1| |#![allow(unused_assignments, unused_variables)]
- 2| |
- 3| 1|fn main() {
- 4| 1| let mut countdown = 0;
- 5| 1| if true {
- 6| 1| countdown = 10;
- 7| 1| }
+ LL| |#![allow(unused_assignments, unused_variables)]
+ LL| |
+ LL| 1|fn main() {
+ LL| 1| let mut countdown = 0;
+ LL| 1| if true {
+ LL| 1| countdown = 10;
+ LL| 1| }
^0
- 8| |
- 9| | const B: u32 = 100;
- 10| 1| let x = if countdown > 7 {
- 11| 1| countdown -= 4;
- 12| 1| B
- 13| 0| } else if countdown > 2 {
- 14| 0| if countdown < 1 || countdown > 5 || countdown != 9 {
- 15| 0| countdown = 0;
- 16| 0| }
- 17| 0| countdown -= 5;
- 18| 0| countdown
- 19| | } else {
- 20| 0| return;
- 21| | };
- 22| |
- 23| 1| let mut countdown = 0;
- 24| 1| if true {
- 25| 1| countdown = 10;
- 26| 1| }
+ LL| |
+ LL| | const B: u32 = 100;
+ LL| 1| let x = if countdown > 7 {
+ LL| 1| countdown -= 4;
+ LL| 1| B
+ LL| 0| } else if countdown > 2 {
+ LL| 0| if countdown < 1 || countdown > 5 || countdown != 9 {
+ LL| 0| countdown = 0;
+ LL| 0| }
+ LL| 0| countdown -= 5;
+ LL| 0| countdown
+ LL| | } else {
+ LL| 0| return;
+ LL| | };
+ LL| |
+ LL| 1| let mut countdown = 0;
+ LL| 1| if true {
+ LL| 1| countdown = 10;
+ LL| 1| }
^0
- 27| |
- 28| 1| if countdown > 7 {
- 29| 1| countdown -= 4;
- 30| 1| } else if countdown > 2 {
+ LL| |
+ LL| 1| if countdown > 7 {
+ LL| 1| countdown -= 4;
+ LL| 1| } else if countdown > 2 {
^0
- 31| 0| if countdown < 1 || countdown > 5 || countdown != 9 {
- 32| 0| countdown = 0;
- 33| 0| }
- 34| 0| countdown -= 5;
- 35| | } else {
- 36| 0| return;
- 37| | }
- 38| |
- 39| 1| if true {
- 40| 1| let mut countdown = 0;
- 41| 1| if true {
- 42| 1| countdown = 10;
- 43| 1| }
+ LL| 0| if countdown < 1 || countdown > 5 || countdown != 9 {
+ LL| 0| countdown = 0;
+ LL| 0| }
+ LL| 0| countdown -= 5;
+ LL| | } else {
+ LL| 0| return;
+ LL| | }
+ LL| |
+ LL| 1| if true {
+ LL| 1| let mut countdown = 0;
+ LL| 1| if true {
+ LL| 1| countdown = 10;
+ LL| 1| }
^0
- 44| |
- 45| 1| if countdown > 7 {
- 46| 1| countdown -= 4;
- 47| 1| }
- 48| 0| else if countdown > 2 {
- 49| 0| if countdown < 1 || countdown > 5 || countdown != 9 {
- 50| 0| countdown = 0;
- 51| 0| }
- 52| 0| countdown -= 5;
- 53| | } else {
- 54| 0| return;
- 55| | }
- 56| 0| }
- 57| |
- 58| |
- 59| 1| let mut countdown = 0;
- 60| 1| if true {
- 61| 1| countdown = 1;
- 62| 1| }
+ LL| |
+ LL| 1| if countdown > 7 {
+ LL| 1| countdown -= 4;
+ LL| 1| }
+ LL| 0| else if countdown > 2 {
+ LL| 0| if countdown < 1 || countdown > 5 || countdown != 9 {
+ LL| 0| countdown = 0;
+ LL| 0| }
+ LL| 0| countdown -= 5;
+ LL| | } else {
+ LL| 0| return;
+ LL| | }
+ LL| 0| }
+ LL| |
+ LL| |
+ LL| 1| let mut countdown = 0;
+ LL| 1| if true {
+ LL| 1| countdown = 1;
+ LL| 1| }
^0
- 63| |
- 64| 1| let z = if countdown > 7 {
+ LL| |
+ LL| 1| let z = if countdown > 7 {
^0
- 65| 0| countdown -= 4;
- 66| 1| } else if countdown > 2 {
- 67| 0| if countdown < 1 || countdown > 5 || countdown != 9 {
- 68| 0| countdown = 0;
- 69| 0| }
- 70| 0| countdown -= 5;
- 71| | } else {
- 72| 1| let should_be_reachable = countdown;
- 73| 1| println!("reached");
- 74| 1| return;
- 75| | };
- 76| |
- 77| 0| let w = if countdown > 7 {
- 78| 0| countdown -= 4;
- 79| 0| } else if countdown > 2 {
- 80| 0| if countdown < 1 || countdown > 5 || countdown != 9 {
- 81| 0| countdown = 0;
- 82| 0| }
- 83| 0| countdown -= 5;
- 84| | } else {
- 85| 0| return;
- 86| | };
- 87| 1|}
+ LL| 0| countdown -= 4;
+ LL| 1| } else if countdown > 2 {
+ LL| 0| if countdown < 1 || countdown > 5 || countdown != 9 {
+ LL| 0| countdown = 0;
+ LL| 0| }
+ LL| 0| countdown -= 5;
+ LL| | } else {
+ LL| 1| let should_be_reachable = countdown;
+ LL| 1| println!("reached");
+ LL| 1| return;
+ LL| | };
+ LL| |
+ LL| 0| let w = if countdown > 7 {
+ LL| 0| countdown -= 4;
+ LL| 0| } else if countdown > 2 {
+ LL| 0| if countdown < 1 || countdown > 5 || countdown != 9 {
+ LL| 0| countdown = 0;
+ LL| 0| }
+ LL| 0| countdown -= 5;
+ LL| | } else {
+ LL| 0| return;
+ LL| | };
+ LL| 1|}