rust/tests/ui/parser/macro-mismatched-delim-brace-paren.rs
2023-01-11 09:32:08 +00:00

8 lines
138 B
Rust

macro_rules! foo { ($($tt:tt)*) => () }
fn main() {
foo! {
bar, "baz", 1, 2.0
) //~ ERROR mismatched closing delimiter
}