blob: dc1b30155b9ff472ae78769c4ddbf16f6e132371 [file] [log] [blame]
#![feature(coroutines)]
const A: u8 = { yield 3u8; 3u8};
//~^ ERROR yield expression outside
//~| ERROR `yield` can only be used in
fn main() {}