Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (17 sloc) 344 Bytes
// 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!( () );
}
You can’t perform that action at this time.