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
2023-10-19 16:46:28 -05:00
#![feature(coroutines, coroutine_trait)]
2020-02-28 15:00:20 -06:00
fn main() {
let _ = || {
yield;
};
}