mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-04 12:44:40 +00:00
4da38c31d2
Prior to #114875, these tests were very sensitive to lines being added/removed, so the migration to `run-coverage` in #112300 tried hard to avoid disturbing the existing line numbers. That resulted in some awkward reshuffling when certain comments/directives needed to be added or moved. Now that we don't have to worry about preserving line numbers, we can rearrange those comments into a more conventional layout.
12 lines
287 B
Rust
12 lines
287 B
Rust
// 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();
|
|
}
|