2014-08-01 17:45:24 -05:00
|
|
|
extern crate cci_lib;
|
2015-03-28 04:23:20 -05:00
|
|
|
use cci_lib::cci_fn;
|
2014-08-01 17:45:24 -05:00
|
|
|
|
2015-03-25 19:06:52 -05:00
|
|
|
fn call1() -> usize {
|
2014-10-06 23:16:35 -05:00
|
|
|
cci_fn()
|
2014-08-01 17:45:24 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
mod a {
|
|
|
|
use cci_lib::cci_fn;
|
2015-03-25 19:06:52 -05:00
|
|
|
pub fn call2() -> usize {
|
2014-08-01 17:45:24 -05:00
|
|
|
cci_fn()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
mod b {
|
2015-03-25 19:06:52 -05:00
|
|
|
pub fn call3() -> usize {
|
2014-10-06 23:16:35 -05:00
|
|
|
0
|
2014-08-01 17:45:24 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
fn main() {
|
|
|
|
call1();
|
|
|
|
a::call2();
|
|
|
|
b::call3();
|
|
|
|
}
|