summaryrefslogtreecommitdiffstats
path: root/tests/ui/cross-crate/cci_capture_clause.rs
blob: ea699b5f5ac4e4e646d72948421ff33c6ba8d664 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// 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();
}