6 lines
86 B
Rust
6 lines
86 B
Rust
//@ run-pass
|
|
fn main() {
|
|
let f = |_||x, y| x+y;
|
|
assert_eq!(f(())(1, 2), 3);
|
|
}
|