blob: 3000bfed6a887bf4d5a668eaa4a25711625ca74a [file] [log] [blame] [edit]
#![feature(macro_metavar_expr)]
macro_rules! foo {
( $( $($t:ident),* );* ) => { ${count($t,)} }
//~^ ERROR `count` followed by a comma must have an associated
//~| ERROR expected expression, found `$`
}
fn test() {
foo!(a, a; b, b);
}
fn main() {
}