mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 07:44:10 +00:00
17 lines
593 B
Rust
17 lines
593 B
Rust
//@ min-lldb-version: 310
|
|
//@ ignore-cdb: Fails with exit code 0xc0000135 ("the application failed to initialize properly")
|
|
|
|
//@ aux-build:issue-13213-aux.rs
|
|
|
|
extern crate issue_13213_aux;
|
|
|
|
//@ compile-flags:-g
|
|
|
|
// This tests make sure that we get no linker error when using a completely inlined static. Some
|
|
// statics that are marked with AvailableExternallyLinkage in the importing crate, may actually not
|
|
// be available because they have been optimized out from the exporting crate.
|
|
fn main() {
|
|
let b: issue_13213_aux::S = issue_13213_aux::A;
|
|
println!("Nothing to do here...");
|
|
}
|