about summary refs log tree commit diff
path: root/tests/ui/cross-crate/cci_capture_clause.rs
blob: 22fe49c2ba081bbd659145c454f4668f48c25629 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//@ run-pass
//@ aux-build:cci_capture_clause.rs

// This test makes sure we can do cross-crate inlining on functions
// that use capture clauses.

//@ needs-threads

extern crate cci_capture_clause;

pub fn main() {
    cci_capture_clause::foo(()).recv().unwrap();
}