summaryrefslogtreecommitdiffstats
path: root/src/test/ui/lint/unused/unused-macro-with-bad-frag-spec.rs
blob: ce187047bb734daa864f636063dc9d7036e31a3a (plain)
1
2
3
4
5
6
7
8
9
#![allow(unused_macros)]

// Issue #21370

macro_rules! test {
    ($wrong:t_ty) => () //~ ERROR invalid fragment specifier `t_ty`
}

fn main() { }