Move /src/test to /tests
This commit is contained in:
parent
ca855e6e42
commit
cf2dff2b1e
27592 changed files with 0 additions and 0 deletions
17
tests/codegen/instrument-coverage.rs
Normal file
17
tests/codegen/instrument-coverage.rs
Normal file
|
@ -0,0 +1,17 @@
|
|||
// Test that `-Cinstrument-coverage` creates expected __llvm_profile_filename symbol in LLVM IR.
|
||||
|
||||
// needs-profiler-support
|
||||
// compile-flags: -Cinstrument-coverage
|
||||
|
||||
// CHECK: @__llvm_profile_filename = {{.*}}"default_%m_%p.profraw\00"{{.*}}
|
||||
|
||||
#![crate_type="lib"]
|
||||
|
||||
#[inline(never)]
|
||||
fn some_function() {
|
||||
|
||||
}
|
||||
|
||||
pub fn some_other_function() {
|
||||
some_function();
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue