about summary refs log tree commit diff
path: root/tests/coverage/test_harness.coverage
blob: 22b1a3938f05b65fcb7fe302f5c0f887429fbc3f (plain)
1
2
3
4
5
6
7
8
9
10
11
   LL|       |// Verify that the entry point injected by the test harness doesn't cause
   LL|       |// weird artifacts in the coverage report (e.g. issue #10749).
   LL|       |
   LL|       |//@ compile-flags: --test
   LL|       |
   LL|       |#[allow(dead_code)]
   LL|      0|fn unused() {}
   LL|       |
   LL|       |#[test]
   LL|      1|fn my_test() {}