summaryrefslogtreecommitdiffstats
path: root/tests/ui/macros/issue-6596-1.rs
blob: 25f1d6500726ee7b962d1312f2e575061b180eb6 (plain)
1
2
3
4
5
6
7
8
9
10
macro_rules! e {
    ($inp:ident) => (
        $nonexistent
        //~^ ERROR expected expression, found `$`
    );
}

fn main() {
    e!(foo);
}