Add test for a macro not containing an exprssion
This commit is contained in:
parent
9006a8b87d
commit
4121b503e9
7
tests/source/macro_not_expr.rs
Normal file
7
tests/source/macro_not_expr.rs
Normal file
@ -0,0 +1,7 @@
|
||||
macro_rules! test {
|
||||
($($t:tt)*) => {}
|
||||
}
|
||||
|
||||
fn main() {
|
||||
test!( a : B => c d );
|
||||
}
|
7
tests/target/macro_not_expr.rs
Normal file
7
tests/target/macro_not_expr.rs
Normal file
@ -0,0 +1,7 @@
|
||||
macro_rules! test {
|
||||
($($t:tt)*) => {}
|
||||
}
|
||||
|
||||
fn main() {
|
||||
test!( a : B => c d );
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user