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