summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-42755.rs
blob: 65796fc24e163151efd299546024fdfba9edc029 (plain)
1
2
3
4
5
6
7
macro_rules! foo {
    ($($p:vis)*) => {} //~ ERROR repetition matches empty token tree
}

foo!(a);

fn main() {}