rust/src/test/run-pass/cci_iter_exe.rs

16 lines
299 B
Rust
Raw Normal View History

// aux-build:cci_iter_lib.rs
use std;
use cci_iter_lib;
import std::io;
fn main() {
//let bt0 = sys::rusti::frame_address(1u32);
//#debug["%?", bt0];
cci_iter_lib::iter([1, 2, 3]) {|i|
io::print(#fmt["%d", i]);
//assert bt0 == sys::rusti::frame_address(2u32);
}
}