summaryrefslogtreecommitdiffstats
path: root/tests/debuginfo/auxiliary/issue-13213-aux.rs
blob: bde98b44544d6b2f0af5cf11bf42227f90133072 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#![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 };