summaryrefslogtreecommitdiffstats
path: root/tests/run-make/coverage-reports/expected_show_coverage.simple_match.txt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run-make/coverage-reports/expected_show_coverage.simple_match.txt')
-rw-r--r--tests/run-make/coverage-reports/expected_show_coverage.simple_match.txt45
1 files changed, 0 insertions, 45 deletions
diff --git a/tests/run-make/coverage-reports/expected_show_coverage.simple_match.txt b/tests/run-make/coverage-reports/expected_show_coverage.simple_match.txt
deleted file mode 100644
index b92982131..000000000
--- a/tests/run-make/coverage-reports/expected_show_coverage.simple_match.txt
+++ /dev/null
@@ -1,45 +0,0 @@
- 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| }
- ^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|}
-