coverage: UI test for unstable value `-C instrument-coverage=branch`

This commit is contained in:
Zalathar 2023-10-25 11:36:45 +11:00
parent df871fbf05
commit bc18509719
6 changed files with 8 additions and 6 deletions

View File

@ -1,3 +0,0 @@
// compile-flags: -Cinstrument-coverage=except-unused-functions
fn main() {}

View File

@ -1,3 +0,0 @@
// compile-flags: -Cinstrument-coverage=except-unused-generics
fn main() {}

View File

@ -0,0 +1,2 @@
error: `-C instrument-coverage=branch` and `-C instrument-coverage=except-*` require `-Z unstable-options`

View File

@ -0,0 +1,6 @@
// revisions: branch except-unused-functions except-unused-generics
// [branch] compile-flags: -Cinstrument-coverage=branch
// [except-unused-functions] compile-flags: -Cinstrument-coverage=except-unused-functions
// [except-unused-generics] compile-flags: -Cinstrument-coverage=except-unused-generics
fn main() {}