blob: b43a6f90ffc09cbc828b6c26813a99e47dc6def5 [file] [log] [blame]
许杰友 Jieyou Xu (Joe)6e48b962024-02-22 12:10:291//@ ignore-cdb: Fails with exit code 0xc0000135 ("the application failed to initialize properly")
Michael Woerister5099b8c2014-04-10 08:25:132
许杰友 Jieyou Xu (Joe)6e48b962024-02-22 12:10:293//@ aux-build:issue-13213-aux.rs
Brian Andersondf290f12015-03-06 02:33:584
Alexander Regueirofe307432019-03-12 00:49:175extern crate issue_13213_aux;
Michael Woerister5099b8c2014-04-10 08:25:136
许杰友 Jieyou Xu (Joe)6e48b962024-02-22 12:10:297//@ compile-flags:-g
Michael Woerister5099b8c2014-04-10 08:25:138
9// This tests make sure that we get no linker error when using a completely inlined static. Some
10// statics that are marked with AvailableExternallyLinkage in the importing crate, may actually not
11// be available because they have been optimized out from the exporting crate.
12fn main() {
Alexander Regueirofe307432019-03-12 00:49:1713 let b: issue_13213_aux::S = issue_13213_aux::A;
Alex Crichton33fb5bb2015-04-10 20:39:5114 println!("Nothing to do here...");
Michael Woerister5099b8c2014-04-10 08:25:1315}