2019-11-04 00:00:00 +00:00
|
|
|
// check-pass
|
2015-10-12 19:40:47 +00:00
|
|
|
trait Test {}
|
|
|
|
|
|
|
|
macro_rules! test {
|
|
|
|
( $($name:ident)+) => (
|
2019-05-29 18:05:43 +00:00
|
|
|
impl<$($name: Test),+> Test for ($($name,)+) {
|
2015-10-12 19:40:47 +00:00
|
|
|
}
|
|
|
|
)
|
|
|
|
}
|
|
|
|
|
|
|
|
test!(A B C);
|
|
|
|
|
|
|
|
fn main() {}
|