mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-29 02:03:53 +00:00
a2c0b38897
To make it easier to verify that the output snapshots have been migrated faithfully, this change adds some temporary helper code that lets us avoid having to completely re-bless the existing snapshots. A later change in this PR will then re-bless the tests and remove the temporary helper code.
11 lines
286 B
Rust
11 lines
286 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();
|
|
}
|