Auto merge of #5242 - matthiaskrgr:5238_test, r=flip1995
add test for #5238 changelog: none
This commit is contained in:
commit
a94b2c1f7d
9
tests/ui/crashes/ice-5238.rs
Normal file
9
tests/ui/crashes/ice-5238.rs
Normal file
@ -0,0 +1,9 @@
|
||||
// Regression test for #5238 / https://github.com/rust-lang/rust/pull/69562
|
||||
|
||||
#![feature(generators, generator_trait)]
|
||||
|
||||
fn main() {
|
||||
let _ = || {
|
||||
yield;
|
||||
};
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user