Skip to content

Commit

Permalink
Add a regression test
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnTitor committed Feb 28, 2020
1 parent 903ef47 commit 1be95fe
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

#![feature(generators, generator_trait)]

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

0 comments on commit 1be95fe

Please sign in to comment.