mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
12 lines
236 B
Rust
12 lines
236 B
Rust
//@ 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()();
|
|
}
|