1 // Test that the initial version of Rust coverage injects count_code_region() placeholder calls,
2 // at the top of each function. The placeholders are later converted into LLVM instrprof.increment
3 // intrinsics, during codegen.
5 // compile-flags: -Zinstrument-coverage
6 // EMIT_MIR rustc.main.InstrumentCoverage.diff
7 // EMIT_MIR rustc.bar.InstrumentCoverage.diff