summaryrefslogtreecommitdiffstats
path: root/tests/ui/macros/bang-after-name.rs
blob: 7654d8c440390189fcd282fc445bc9159adaf979 (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() {}