rust/tests/coverage/issue-85461.rs

12 lines
288 B
Rust
Raw Normal View History

// Regression test for #85461: MSVC sometimes fail to link with dead code and #[inline(always)]
//@ aux-build:inline_always_with_dead_code.rs
extern crate inline_always_with_dead_code;
use inline_always_with_dead_code::{bar, baz};
fn main() {
bar::call_me();
baz::call_me();
}