mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-11 08:05:12 +00:00
16 lines
229 B
Rust
16 lines
229 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);
|
|
}
|
|
}
|