rust/src/test/ui/issues/issue-22814.rs
2019-07-03 06:30:28 +09:00

14 lines
200 B
Rust

// build-pass (FIXME(62277): could be check-pass?)
trait Test {}
macro_rules! test {
( $($name:ident)+) => (
impl<$($name: Test),+> Test for ($($name,)+) {
}
)
}
test!(A B C);
fn main() {}