rust/tests/ui/consts/promote_evaluation_unused_r...

7 lines
113 B
Rust

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