summaryrefslogtreecommitdiffstats
path: root/tests/run-coverage/simple_match.coverage
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-30 03:59:24 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-30 03:59:24 +0000
commit023939b627b7dc93b01471f7d41fb8553ddb4ffa (patch)
tree60fc59477c605c72b0a1051409062ddecc43f877 /tests/run-coverage/simple_match.coverage
parentAdding debian version 1.72.1+dfsg1-1. (diff)
downloadrustc-023939b627b7dc93b01471f7d41fb8553ddb4ffa.tar.xz
rustc-023939b627b7dc93b01471f7d41fb8553ddb4ffa.zip
Merging upstream version 1.73.0+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/run-coverage/simple_match.coverage')
-rw-r--r--tests/run-coverage/simple_match.coverage86
1 files changed, 43 insertions, 43 deletions
diff --git a/tests/run-coverage/simple_match.coverage b/tests/run-coverage/simple_match.coverage
index b92982131..7f5dd3bb6 100644
--- a/tests/run-coverage/simple_match.coverage
+++ b/tests/run-coverage/simple_match.coverage
@@ -1,45 +1,45 @@
- 1| |#![allow(unused_assignments, unused_variables)]
- 2| |
- 3| 1|fn main() {
- 4| 1| // Initialize test constants in a way that cannot be determined at compile time, to ensure
- 5| 1| // rustc and LLVM cannot optimize out statements (or coverage counters) downstream from
- 6| 1| // dependent conditions.
- 7| 1| let is_true = std::env::args().len() == 1;
- 8| 1|
- 9| 1| let mut countdown = 1;
- 10| 1| if is_true {
- 11| 1| countdown = 0;
- 12| 1| }
+ LL| |#![allow(unused_assignments, unused_variables)]
+ LL| |
+ LL| 1|fn main() {
+ LL| 1| // Initialize test constants in a way that cannot be determined at compile time, to ensure
+ LL| 1| // rustc and LLVM cannot optimize out statements (or coverage counters) downstream from
+ LL| 1| // dependent conditions.
+ LL| 1| let is_true = std::env::args().len() == 1;
+ LL| 1|
+ LL| 1| let mut countdown = 1;
+ LL| 1| if is_true {
+ LL| 1| countdown = 0;
+ LL| 1| }
^0
- 13| |
- 14| | for
- 15| | _
- 16| | in
- 17| 3| 0..2
- 18| | {
- 19| | let z
- 20| | ;
- 21| | match
- 22| 2| countdown
- 23| | {
- 24| 1| x
- 25| | if
- 26| 2| x
- 27| 2| <
- 28| 2| 1
- 29| | =>
- 30| 1| {
- 31| 1| z = countdown
- 32| 1| ;
- 33| 1| let y = countdown
- 34| 1| ;
- 35| 1| countdown = 10
- 36| 1| ;
- 37| 1| }
- 38| | _
- 39| | =>
- 40| 1| {}
- 41| | }
- 42| | }
- 43| 1|}
+ LL| |
+ LL| | for
+ LL| | _
+ LL| | in
+ LL| 3| 0..2
+ LL| | {
+ LL| | let z
+ LL| | ;
+ LL| | match
+ LL| 2| countdown
+ LL| | {
+ LL| 1| x
+ LL| | if
+ LL| 2| x
+ LL| 2| <
+ LL| 2| 1
+ LL| | =>
+ LL| 1| {
+ LL| 1| z = countdown
+ LL| 1| ;
+ LL| 1| let y = countdown
+ LL| 1| ;
+ LL| 1| countdown = 10
+ LL| 1| ;
+ LL| 1| }
+ LL| | _
+ LL| | =>
+ LL| 1| {}
+ LL| | }
+ LL| | }
+ LL| 1|}