Skip to content

Commit 1e29b36

Browse files
committed
add test for rust-lang#5238
1 parent 610bcea commit 1e29b36

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)