]> git.lizzy.rs Git - rust.git/blob - tests/ui/issues/issue-22814.rs
Rollup merge of #106752 - sulami:master, r=estebank
[rust.git] / tests / ui / issues / issue-22814.rs
1 // check-pass
2 trait Test {}
3
4 macro_rules! test {
5 ( $($name:ident)+) => (
6     impl<$($name: Test),+> Test for ($($name,)+) {
7     }
8 )
9 }
10
11 test!(A B C);
12
13 fn main() {}