mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 08:44:35 +00:00
433da1fc04
They pass fine.
26 lines
287 B
Rust
26 lines
287 B
Rust
extern crate cci_lib;
|
|
use cci_lib::cci_fn;
|
|
|
|
fn call1() -> usize {
|
|
cci_fn()
|
|
}
|
|
|
|
mod a {
|
|
use cci_lib::cci_fn;
|
|
pub fn call2() -> usize {
|
|
cci_fn()
|
|
}
|
|
}
|
|
|
|
mod b {
|
|
pub fn call3() -> usize {
|
|
0
|
|
}
|
|
}
|
|
|
|
fn main() {
|
|
call1();
|
|
a::call2();
|
|
b::call3();
|
|
}
|