summaryrefslogtreecommitdiffstats
path: root/tests/ui/consts/promote_evaluation_unused_result.rs
blob: 4eda785bb89895b54bfdfc3047fe2332e08bb3d8 (plain)
1
2
3
4
5
6
// build-pass (FIXME(62277): could be check-pass?)

fn main() {

    let _: &'static usize = &(loop {}, 1).1;
}