rust/tests/ui/consts/promote_evaluation_unused_result.rs
2024-02-16 20:02:50 +00:00

7 lines
113 B
Rust

//@ build-pass (FIXME(62277): could be check-pass?)
fn main() {
let _: &'static usize = &(loop {}, 1).1;
}