rust/tests/debuginfo/auxiliary/issue-13213-aux.rs
2023-01-11 09:32:08 +00:00

20 lines
281 B
Rust

#![crate_type = "lib"]
// compile-flags:-g
pub use private::P;
#[derive(Copy, Clone)]
pub struct S {
p: P,
}
mod private {
#[derive(Copy, Clone)]
pub struct P {
p: i32,
}
pub const THREE: P = P { p: 3 };
}
pub static A: S = S { p: private::THREE };