summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-25180.rs
blob: 29dc07f491427224a0442a87a97bc45a633911f3 (plain)
1
2
3
4
5
6
7
// check-pass
#![allow(dead_code)]
#![allow(non_upper_case_globals)]

const x: &'static dyn Fn() = &|| println!("ICE here");

fn main() {}