blob: 36aa74f0825309d33e945e2370890b03aa3f9751 [file] [log] [blame]
// run-pass
// pretty-expanded FIXME #23616
macro_rules! list {
( ($($id:ident),*) ) => (());
( [$($id:ident),*] ) => (());
( {$($id:ident),*} ) => (());
}
macro_rules! tt_list {
( ($($tt:tt),*) ) => (());
}
pub fn main() {
list!( () );
list!( [] );
list!( {} );
tt_list!( (a, b, c) );
tt_list!( () );
}