1 // build-pass (FIXME(62277): could be check-pass?)
2 
3 #![allow(const_err)]
4 
main()5 fn main() {
6     let x: &'static _ = &|| { let z = 3; z };
7 }
8