rust/tests/ui/consts/promote_evaluation_unused_result.rs
2023-01-11 09:32:08 +00:00

7 lines
112 B
Rust

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