blob: 380e95cfc7765a74b3574d6679448670a9799d60 [file] [log] [blame]
//@ run-pass
#![feature(coroutines, stmt_expr_attributes)]
fn main() {
let _a = #[coroutine] || {
yield;
let a = String::new();
a.len()
};
}