summaryrefslogtreecommitdiffstats
path: root/tests/mir-opt/instrument_coverage.bar.InstrumentCoverage.diff
blob: 1ef6b69ef5b0c91344a73b66cccc9f5c62492871 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
- // MIR for `bar` before InstrumentCoverage
+ // MIR for `bar` after InstrumentCoverage
  
  fn bar() -> bool {
      let mut _0: bool;
  
+     coverage Counter(0) => /the/src/instrument_coverage.rs:21:1 - 23:2;
+ 
      bb0: {
+         Coverage::CounterIncrement(0);
          _0 = const true;
          return;
      }
  }