Sign in
rust
/
rust-lang
/
rust
/
HEAD
/
.
/
tests
/
coverage
/
test_harness.rs
blob: 1361274b716d692729ec8fe4f6f03e450e78e1cf [
file
] [
log
] [
blame
]
// Verify that the entry point injected by the test harness doesn't cause
// weird artifacts in the coverage report (e.g. issue #10749).
//@ compile-flags: --test
#[
allow
(
dead_code
)]
fn
unused
()
{}
#[
test
]
fn
my_test
()
{}