summaryrefslogtreecommitdiffstats
path: root/tests/ui/macros/issue-39388.rs
blob: a8e31a648c9ed4e67a41319d43afeecdc75b17fb (plain)
1
2
3
4
5
6
7
8
9
#![allow(unused_macros)]

macro_rules! assign {
    (($($a:tt)*) = ($($b:tt))*) => { //~ ERROR expected one of: `*`, `+`, or `?`
        $($a)* = $($b)*
    }
}

fn main() {}