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