Add a test for #2953
This commit is contained in:
parent
ca19c9a35a
commit
e5a41e5682
1 changed files with 9 additions and 0 deletions
9
tests/target/obsolete_in_place.rs
Normal file
9
tests/target/obsolete_in_place.rs
Normal file
|
@ -0,0 +1,9 @@
|
|||
// #2953
|
||||
|
||||
macro_rules! demo {
|
||||
($a:ident <- $b:expr) => {};
|
||||
}
|
||||
|
||||
fn main() {
|
||||
demo!(i <- 0);
|
||||
}
|
Loading…
Reference in a new issue