rust/src/test/ui/issues/issue-22814.rs
2018-12-25 21:08:33 -07:00

14 lines
165 B
Rust

// compile-pass
trait Test {}
macro_rules! test {
( $($name:ident)+) => (
impl<$($name: Test),*> Test for ($($name,)*) {
}
)
}
test!(A B C);
fn main() {}