rust/tests/ui/crashes/ice-5238.rs

10 lines
172 B
Rust
Raw Normal View History

2020-02-28 15:00:20 -06:00
// Regression test for #5238 / https://github.com/rust-lang/rust/pull/69562
#![feature(generators, generator_trait)]
fn main() {
let _ = || {
yield;
};
}