rust/src/test/run-pass/cci_borrow.rs
2012-06-01 17:26:01 -07:00

14 lines
278 B
Rust

// xfail-win32 - not sure why this is busted
// xfail-fast - check-fast doesn't understand aux-build
// aux-build:cci_borrow_lib.rs
use cci_borrow_lib;
import cci_borrow_lib::foo;
fn main() {
let p = @22u;
let r = foo(p);
#debug["r=%u", r];
assert r == 22u;
}