mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 01:04:03 +00:00
15 lines
324 B
Rust
15 lines
324 B
Rust
//@ run-pass
|
|
//@ aux-build:cci_capture_clause.rs
|
|
|
|
// This test makes sure we can do cross-crate inlining on functions
|
|
// that use capture clauses.
|
|
|
|
//@ pretty-expanded FIXME #23616
|
|
//@ ignore-emscripten no threads support
|
|
|
|
extern crate cci_capture_clause;
|
|
|
|
pub fn main() {
|
|
cci_capture_clause::foo(()).recv().unwrap();
|
|
}
|