mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 16:24:46 +00:00
12 lines
365 B
Plaintext
12 lines
365 B
Plaintext
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() {}
|
|
|