rust/tests/ui/issues/issue-25180.rs
2024-02-16 20:02:50 +00:00

8 lines
140 B
Rust

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