summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/auxiliary/cgu_test_a.rs
blob: a3dcd92012ee9a32b6bd0c7d50b12e3afb46cd38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// 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);
    }
}