summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui/crashes/ice-5238.rs
blob: b1fc3fb9d251154826282323e1551d6fc7442b8b (plain)
1
2
3
4
5
6
7
8
9
// Regression test for #5238 / https://github.com/rust-lang/rust/pull/69562

#![feature(coroutines, coroutine_trait)]

fn main() {
    let _ = || {
        yield;
    };
}