summaryrefslogtreecommitdiffstats
path: root/tests/ui/unboxed-closures/unboxed-closures-static-call-fn-once.rs
blob: 054f284ea2a54b6b2c1204e2e0b716afb9cc5a3e (plain)
1
2
3
4
5
6
7
// run-pass
// pretty-expanded FIXME #23616

fn main() {
    let onetime = |x| x;
    onetime(0);
}