Skip to content

Commit

Permalink
add test for #5238
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiaskrgr committed Feb 28, 2020
1 parent 610bcea commit 1e29b36
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 1e29b36

Please sign in to comment.