Move /src/test to /tests
This commit is contained in:
parent
ca855e6e42
commit
cf2dff2b1e
27592 changed files with 0 additions and 0 deletions
22
tests/run-make/coverage/lib/inline_always_with_dead_code.rs
Normal file
22
tests/run-make/coverage/lib/inline_always_with_dead_code.rs
Normal file
|
@ -0,0 +1,22 @@
|
|||
// compile-flags: -Cinstrument-coverage -Ccodegen-units=4 -Copt-level=0
|
||||
|
||||
#![allow(dead_code)]
|
||||
|
||||
mod foo {
|
||||
#[inline(always)]
|
||||
pub fn called() { }
|
||||
|
||||
fn uncalled() { }
|
||||
}
|
||||
|
||||
pub mod bar {
|
||||
pub fn call_me() {
|
||||
super::foo::called();
|
||||
}
|
||||
}
|
||||
|
||||
pub mod baz {
|
||||
pub fn call_me() {
|
||||
super::foo::called();
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue