]> git.proxmox.com Git - rustc.git/blob - tests/coverage/test_harness.rs
New upstream version 1.75.0+dfsg1
[rustc.git] / tests / coverage / test_harness.rs
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 fn unused() {}
8
9 #[test]
10 fn my_test() {}