Auto merge of #5242 - matthiaskrgr:5238_test, r=flip1995

add test for #5238

changelog: none
This commit is contained in:
bors 2020-03-02 20:31:27 +00:00
commit a94b2c1f7d

View 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;
};
}