rust/src/test/ui/issues/issue-25180.rs
2019-11-04 16:03:46 +01:00

8 lines
139 B
Rust

// check-pass
#![allow(dead_code)]
#![allow(non_upper_case_globals)]
const x: &'static dyn Fn() = &|| println!("ICE here");
fn main() {}