2012-04-23 17:23:20 -05:00
|
|
|
// xfail-fast - check-fast doesn't understand aux-build
|
|
|
|
// aux-build:cci_borrow_lib.rs
|
|
|
|
|
2012-09-11 19:46:20 -05:00
|
|
|
extern mod cci_borrow_lib;
|
2012-09-05 14:32:05 -05:00
|
|
|
use cci_borrow_lib::foo;
|
2012-04-23 17:23:20 -05:00
|
|
|
|
|
|
|
fn main() {
|
|
|
|
let p = @22u;
|
|
|
|
let r = foo(p);
|
2012-08-22 19:24:52 -05:00
|
|
|
debug!("r=%u", r);
|
2012-04-23 17:23:20 -05:00
|
|
|
assert r == 22u;
|
|
|
|
}
|