2 // aux-build:cci_no_inline_lib.rs
4 extern crate cci_no_inline_lib;
5 use cci_no_inline_lib::iter;
8 // Check that a cross-crate call function not marked as inline
9 // does not, in fact, get inlined. Also, perhaps more
10 // importantly, checks that our scheme of using
11 // sys::frame_address() to determine if we are inlining is
13 //let bt0 = sys::frame_address();
14 //println!("%?", bt0);
15 iter(vec![1, 2, 3], |i| {
18 //let bt1 = sys::frame_address();
19 //println!("%?", bt1);
21 //assert!(bt0 != bt1);