12 lines
205 B
Rust
12 lines
205 B
Rust
|
// no-prefer-dynamic
|
||
|
// compile-flags: -Z thinlto -C codegen-units=8 -C prefer-dynamic
|
||
|
|
||
|
#![crate_type = "rlib"]
|
||
|
#![crate_type = "dylib"]
|
||
|
|
||
|
pub static A: u32 = 43;
|
||
|
|
||
|
pub mod a {
|
||
|
pub static A: u32 = 43;
|
||
|
}
|