summaryrefslogtreecommitdiffstats
path: root/src/test/ui/unboxed-closures/unboxed-closures-zero-args.rs
blob: 6f41c35584e830cf0a427fb80db5c73ca55bbb7b (plain)
1
2
3
4
5
6
7
8
// run-pass
#![allow(unused_mut)]
// pretty-expanded FIXME #23616

fn main() {
    let mut zero = || {};
    let () = zero();
}