diff options
Diffstat (limited to 'src/tools/rustfmt/tests/target/obsolete_in_place.rs')
-rw-r--r-- | src/tools/rustfmt/tests/target/obsolete_in_place.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/tools/rustfmt/tests/target/obsolete_in_place.rs b/src/tools/rustfmt/tests/target/obsolete_in_place.rs new file mode 100644 index 000000000..3f364c1ae --- /dev/null +++ b/src/tools/rustfmt/tests/target/obsolete_in_place.rs @@ -0,0 +1,9 @@ +// #2953 + +macro_rules! demo { + ($a:ident <- $b:expr) => {}; +} + +fn main() { + demo!(i <- 0); +} |