Skip to content

Commit

Permalink
Auto merge of rust-lang#5242 - matthiaskrgr:5238_test, r=flip1995
Browse files Browse the repository at this point in the history
add test for rust-lang#5238

changelog: none
  • Loading branch information
bors committed Mar 2, 2020
2 parents 8b7f7e6 + 1e29b36 commit a94b2c1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/ui/crashes/ice-5238.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// Regression test for #5238 / https://github.com/rust-lang/rust/pull/69562

#![feature(generators, generator_trait)]

fn main() {
let _ = || {
yield;
};
}

0 comments on commit a94b2c1

Please sign in to comment.