blob: c2ee8642bf4b1e72f087d318417c761b2c354fb5 [file] [log] [blame]
//! regression test for issue <https://github.com/rust-lang/rust/issues/38458>
const x: () = {
return; //~ ERROR return statement outside of function body
};
fn main() {}