about summary refs log tree commit diff
path: root/tests/coverage/test_harness.rs
blob: 1361274b716d692729ec8fe4f6f03e450e78e1cf (plain)
1
2
3
4
5
6
7
8
9
10
// 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() {}