blob: 29738bb9a299fec5ca12389ea75a2f777f439a48 [file] [log] [blame]
//@ revisions: constant array
#![expect(incomplete_features)]
#![feature(explicit_tail_calls)]
#[cfg(constant)]
const _: () = {
become f(); //[constant]~ error: become statement outside of function body
};
#[cfg(array)]
struct Bad([(); become f()]); //[array]~ error: become statement outside of function body
fn f() {}
fn main() {}