rust/src/test/run-pass/cci_capture_clause.rs

16 lines
270 B
Rust
Raw Normal View History

// 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;
2012-09-05 14:32:05 -05:00
use comm::recv;
fn main() {
cci_capture_clause::foo(()).recv()
}