Add test for a macro not containing an exprssion

This commit is contained in:
Alex Crichton 2015-10-22 16:20:45 -07:00
parent 9006a8b87d
commit 4121b503e9
2 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,7 @@
macro_rules! test {
($($t:tt)*) => {}
}
fn main() {
test!( a : B => c d );
}

View File

@ -0,0 +1,7 @@
macro_rules! test {
($($t:tt)*) => {}
}
fn main() {
test!( a : B => c d );
}