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

8 lines
113 B
Rust
Raw Normal View History

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