add test for #5238
This commit is contained in:
parent
610bceae71
commit
1e29b36e4e
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