Rollup merge of #58479 - saleemjaffer:test_promote_evaluation_unused_result, r=oli-obk

compile-pass test for #53606

fixes #53606
This commit is contained in:
kennytm 2019-02-16 00:56:03 +08:00
commit cfa6a702cf
No known key found for this signature in database
GPG Key ID: FEF6C8051D0E013C

View File

@ -0,0 +1,8 @@
//compile-pass
#![feature(nll)]
fn main() {
let _: &'static usize = &(loop {}, 1).1;
}