diff options
Diffstat (limited to 'tests/run-make/coverage/issue-85461.rs')
-rw-r--r-- | tests/run-make/coverage/issue-85461.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/run-make/coverage/issue-85461.rs b/tests/run-make/coverage/issue-85461.rs new file mode 100644 index 000000000..a1b9ebb1e --- /dev/null +++ b/tests/run-make/coverage/issue-85461.rs @@ -0,0 +1,10 @@ +// Regression test for #85461: MSVC sometimes fail to link with dead code and #[inline(always)] + +extern crate inline_always_with_dead_code; + +use inline_always_with_dead_code::{bar, baz}; + +fn main() { + bar::call_me(); + baz::call_me(); +} |