about summary refs log tree commit diff
path: root/tests/ui/macros/bang-after-name.rs
blob: 26f889910501130eefb7b7f725658e9a38a99a33 (plain)
1
2
3
4
5
6
7
8
//@ run-rustfix
#[allow(unused_macros)]

macro_rules! foo! { //~ ERROR macro names aren't followed by a `!`
    () => {};
}

fn main() {}