index
:
rustc
debian
progress-linux
upstream
debian 12 backports: mozilla
Progress Linux
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
tests
/
ui
/
functions-closures
/
closure-returning-closure.rs
blob: 17db81687ab27605dcefe57654b36c74454f7099 (
plain
)
1
2
3
4
5
// run-pass
fn
main
()
{
let
f
=
|
_
||
x
,
y
|
x
+
y
;
assert_eq!
(
f
(())(
1
,
2
),
3
);
}