]> git.lizzy.rs Git - rust.git/blob - tests/ui/consts/promote_evaluation_unused_result.rs
Auto merge of #107843 - bjorn3:sync_cg_clif-2023-02-09, r=bjorn3
[rust.git] / tests / ui / consts / promote_evaluation_unused_result.rs
1 // build-pass (FIXME(62277): could be check-pass?)
2
3 fn main() {
4
5     let _: &'static usize = &(loop {}, 1).1;
6 }