blob: 77dfe8391956fd444d596294a35019abc7c6fbcd [file] [log] [blame]
//@ check-pass
//@ revisions: current next
//@ ignore-compare-mode-next-solver (explicit revisions)
#![feature(coroutines, coroutine_trait)]
use std::ops::Coroutine;
pub fn example() -> impl Coroutine {
#[coroutine]
|| yield &1
}
fn main() {}