rust/tests/ui/parser/macro-mismatched-delim-brac...

8 lines
138 B
Rust

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