rust/tests/ui/issues/issue-7970a.rs
2023-01-11 09:32:08 +00:00

9 lines
168 B
Rust

macro_rules! one_arg_macro {
($fmt:expr) => (print!(concat!($fmt, "\n")));
}
fn main() {
one_arg_macro!();
//~^ ERROR unexpected end of macro invocation
}