Skip to content

Commit ce58f73

Browse files
committed
Auto merge of #5242 - matthiaskrgr:5238_test, r=flip1995
add test for #5238 changelog: none
2 parents 0f4a3fe + 1e29b36 commit ce58f73

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

tests/ui/crashes/ice-5238.rs

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
// Regression test for #5238 / https://github.com/rust-lang/rust/pull/69562
2+
3+
#![feature(generators, generator_trait)]
4+
5+
fn main() {
6+
let _ = || {
7+
yield;
8+
};
9+
}

0 commit comments

Comments
 (0)