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

#![feature(generators, generator_trait)]

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