rust/tests/run-make-fulldeps/sepcomp-cci-copies/foo.rs
2023-01-11 09:32:08 +00:00

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();
}