summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui/crashes/auxiliary/ice-7272-aux.rs
blob: 780797e3c6aa42291af2d15e66e988a6a9e160e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
pub fn warn<T>(_: T) {}

macro_rules! define_macro {
    ($d:tt $lower:ident $upper:ident) => {
        #[macro_export]
        macro_rules! $upper {
            ($arg:tt) => {
                $crate::$lower($arg)
            };
        }
    };
}

define_macro! {$ warn  WARNING}