2012-04-23 17:23:20 -05:00
|
|
|
// 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);
|
2012-07-30 18:01:07 -05:00
|
|
|
debug!{"r=%u", r};
|
2012-04-23 17:23:20 -05:00
|
|
|
assert r == 22u;
|
|
|
|
}
|