2012-05-29 19:48:27 -05:00
|
|
|
// aux-build:cci_capture_clause.rs
|
2012-05-30 12:37:15 -05:00
|
|
|
// xfail-fast
|
2012-05-29 19:48:27 -05:00
|
|
|
|
|
|
|
// This test makes sure we can do cross-crate inlining on functions
|
|
|
|
// that use capture clauses.
|
|
|
|
|
|
|
|
use cci_capture_clause;
|
|
|
|
|
|
|
|
import comm::recv;
|
|
|
|
import comm::methods;
|
|
|
|
|
|
|
|
fn main() {
|
|
|
|
cci_capture_clause::foo(()).recv()
|
|
|
|
}
|