coverage: Add a test that uses #[bench]
This commit is contained in:
parent
cb25c5bc3d
commit
bdfc64ac98
3 changed files with 33 additions and 0 deletions
9
tests/coverage/bench.coverage
Normal file
9
tests/coverage/bench.coverage
Normal file
|
@ -0,0 +1,9 @@
|
|||
LL| |#![feature(test)]
|
||||
LL| |// edition: 2021
|
||||
LL| |// compile-flags: --test
|
||||
LL| |
|
||||
LL| |extern crate test;
|
||||
LL| |
|
||||
LL| 1|#[bench]
|
||||
LL| 1|fn my_bench(_b: &mut test::Bencher) {}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue