rust/tests/ui/macros/issue-109237.rs

8 lines
113 B
Rust

macro_rules! statement {
() => {;}; //~ ERROR expected expression
}
fn main() {
let _ = statement!();
}