7737c094af
This reverts commit 2ab1b5838b
.
15 lines
268 B
Rust
15 lines
268 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;
|
|
|
|
import comm::recv;
|
|
import comm::methods;
|
|
|
|
fn main() {
|
|
cci_capture_clause::foo(()).recv()
|
|
}
|