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

10 lines
172 B
Rust
Raw Normal View History

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