2016-04-26 12:51:14 -05:00
|
|
|
#![crate_type = "lib"]
|
|
|
|
// compile-flags:-g
|
|
|
|
|
|
|
|
pub use private::P;
|
|
|
|
|
|
|
|
#[derive(Copy, Clone)]
|
|
|
|
pub struct S {
|
|
|
|
p: P,
|
2015-03-18 16:05:24 -05:00
|
|
|
}
|
2016-04-26 12:51:14 -05:00
|
|
|
|
|
|
|
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 };
|