mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +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);
|
|
}
|
|
}
|