Skip to content

Commit

Permalink
compile-pass test for rust-lang#53606
Browse files Browse the repository at this point in the history
  • Loading branch information
Saleem Jaffer committed Feb 15, 2019
1 parent f47ec2a commit 2c8e708
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/test/ui/consts/promote_evaluation_unused_result.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
//compile-pass

#![feature(nll)]

fn main() {

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

0 comments on commit 2c8e708

Please sign in to comment.