summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-22814.rs
blob: 4079adfc8b62dc208fa07514a5279327bc8e053e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// check-pass
trait Test {}

macro_rules! test {
( $($name:ident)+) => (
    impl<$($name: Test),+> Test for ($($name,)+) {
    }
)
}

test!(A B C);

fn main() {}