2 // compile-flags: -C codegen-units=3
3 // aux-build:sepcomp_cci_lib.rs
5 // Test accessing cross-crate inlined items from multiple compilation units.
8 extern crate sepcomp_cci_lib;
9 use sepcomp_cci_lib::{cci_fn, CCI_CONST};
16 use sepcomp_cci_lib::{cci_fn, CCI_CONST};
17 pub fn call2() -> usize {
23 use sepcomp_cci_lib::{cci_fn, CCI_CONST};
24 pub fn call3() -> usize {
30 assert_eq!(call1(), 1234);
31 assert_eq!(a::call2(), 1234);
32 assert_eq!(b::call3(), 1234);