summaryrefslogtreecommitdiffstats
path: root/src/test/ui/impl-trait/xcrate.rs
blob: fe106ff0557883e9880e14dfaae63d02faa1505e (plain)
1
2
3
4
5
6
7
8
9
10
11
// run-pass

// aux-build:xcrate.rs

extern crate xcrate;

fn main() {
//  NOTE line below commented out due to issue #45994
//  assert_eq!(xcrate::fourway_add(1)(2)(3)(4), 10);
    xcrate::return_closure_accessing_internal_fn()();
}