Skip to content

Commit a94b2c1

Browse files
committed
Auto merge of rust-lang#5242 - matthiaskrgr:5238_test, r=flip1995
add test for rust-lang#5238 changelog: none
2 parents 8b7f7e6 + 1e29b36 commit a94b2c1

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)