summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-6596-2.rs
blob: 8401c4a9d6cfd9ddc6787e3aa7a055ca163a78c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
macro_rules! g {
    ($inp:ident) => (
        { $inp $nonexistent }
        //~^ ERROR expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `$`
    );
}

fn main() {
    let foo = 0;
    g!(foo);
}