2024-02-22 12:10:29 +00:00
|
|
|
//@ min-lldb-version: 310
|
|
|
|
//@ ignore-cdb: Fails with exit code 0xc0000135 ("the application failed to initialize properly")
|
2014-04-10 08:25:13 +00:00
|
|
|
|
2024-02-22 12:10:29 +00:00
|
|
|
//@ aux-build:issue-13213-aux.rs
|
2015-03-06 02:33:58 +00:00
|
|
|
|
2019-03-12 00:49:17 +00:00
|
|
|
extern crate issue_13213_aux;
|
2014-04-10 08:25:13 +00:00
|
|
|
|
2024-02-22 12:10:29 +00:00
|
|
|
//@ compile-flags:-g
|
2014-04-10 08:25:13 +00:00
|
|
|
|
|
|
|
// 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() {
|
2019-03-12 00:49:17 +00:00
|
|
|
let b: issue_13213_aux::S = issue_13213_aux::A;
|
2015-04-10 20:39:51 +00:00
|
|
|
println!("Nothing to do here...");
|
2014-04-10 08:25:13 +00:00
|
|
|
}
|