blob: 93bd1cfcb48971c55c1e21bb91f3c2cedeb2b5a8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
1| |// Verify that the entry point injected by the test harness doesn't cause
2| |// weird artifacts in the coverage report (e.g. issue #10749).
3| |
4| |// compile-flags: --test
5| |
6| |#[allow(dead_code)]
7| 0|fn unused() {}
8| |
9| 1|#[test]
10| 1|fn my_test() {}
|