]> git.lizzy.rs Git - rust.git/blob - tests/debuginfo/issue-13213.rs
Rollup merge of #107819 - clubby789:x-py-root, r=jyn514
[rust.git] / tests / debuginfo / issue-13213.rs
1 // min-lldb-version: 310
2 // ignore-cdb: Fails with exit code 0xc0000135 ("the application failed to initialize properly")
3
4 // aux-build:issue-13213-aux.rs
5
6 extern crate issue_13213_aux;
7
8 // compile-flags:-g
9
10 // This tests make sure that we get no linker error when using a completely inlined static. Some
11 // statics that are marked with AvailableExternallyLinkage in the importing crate, may actually not
12 // be available because they have been optimized out from the exporting crate.
13 fn main() {
14     let b: issue_13213_aux::S = issue_13213_aux::A;
15     println!("Nothing to do here...");
16 }