rust/tests/ui/issues/issue-24779.rs

5 lines
61 B
Rust

//@ run-pass
fn main() {
assert_eq!((||||42)()(), 42);
}