summary refs log tree commit diff
path: root/tests/ui/instrument-coverage/coverage-options.rs
blob: a62e0554f769074705a613f49e482d95310674b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//@ needs-profiler-support
//@ revisions: branch no-branch bad
//@ compile-flags -Cinstrument-coverage

//@ [branch] check-pass
//@ [branch] compile-flags: -Zcoverage-options=branch

//@ [no-branch] check-pass
//@ [no-branch] compile-flags: -Zcoverage-options=no-branch

//@ [bad] check-fail
//@ [bad] compile-flags: -Zcoverage-options=bad

fn main() {}