coverage. MCDC tests also report branches coverage
This commit is contained in:
parent
4f6140258f
commit
c77788f011
6 changed files with 78 additions and 6 deletions
|
@ -2,7 +2,7 @@
|
|||
//@ edition: 2021
|
||||
//@ min-llvm-version: 18
|
||||
//@ compile-flags: -Zcoverage-options=mcdc
|
||||
//@ llvm-cov-flags: --show-mcdc
|
||||
//@ llvm-cov-flags: --show-branches=count --show-mcdc
|
||||
|
||||
fn nested_if_in_condition(a: bool, b: bool, c: bool) {
|
||||
if a && if b || c { true } else { false } {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue