rust/src/test/run-pass/cci_capture_clause.rs
2012-09-05 12:32:05 -07:00

14 lines
243 B
Rust

// aux-build:cci_capture_clause.rs
// xfail-fast
// This test makes sure we can do cross-crate inlining on functions
// that use capture clauses.
use cci_capture_clause;
use comm::recv;
fn main() {
cci_capture_clause::foo(()).recv()
}