// aux-build:cci_capture_clause.rs
// xfail-fast

// This test makes sure we can do cross-crate inlining on functions
// that use capture clauses.

#[legacy_exports];

extern mod cci_capture_clause;

use comm::recv;

fn main() {
    cci_capture_clause::foo(()).recv()
}
