summaryrefslogtreecommitdiffstats
path: root/src/test/ui/generator/async-generator-issue-67158.rs
blob: 8125a7a9bb6648f13da50ef2be82cd2b2729b4b1 (plain)
1
2
3
4
5
6
#![feature(generators)]
// edition:2018
// Regression test for #67158.
fn main() {
    async { yield print!(":C") }; //~ ERROR `async` generators are not yet supported
}