summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-7970a.rs
blob: dae906410ed6144ccc5d7992b81ed82d6479b7c4 (plain)
1
2
3
4
5
6
7
8
macro_rules! one_arg_macro {
    ($fmt:expr) => (print!(concat!($fmt, "\n")));
}

fn main() {
    one_arg_macro!();
    //~^ ERROR unexpected end of macro invocation
}