mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 06:51:58 +00:00
16 lines
227 B
Rust
16 lines
227 B
Rust
// no-prefer-dynamic
|
|
// compile-flags: -Ccodegen-units=2 --crate-type=lib
|
|
|
|
extern crate cgu_test;
|
|
|
|
pub mod a {
|
|
pub fn a() {
|
|
::cgu_test::id(0);
|
|
}
|
|
}
|
|
pub mod b {
|
|
pub fn a() {
|
|
::cgu_test::id(0);
|
|
}
|
|
}
|