]> git.proxmox.com Git - rustc.git/blobdiff - src/tools/rustfmt/tests/source/macro_not_expr.rs
New upstream version 1.52.1+dfsg1
[rustc.git] / src / tools / rustfmt / tests / source / macro_not_expr.rs
diff --git a/src/tools/rustfmt/tests/source/macro_not_expr.rs b/src/tools/rustfmt/tests/source/macro_not_expr.rs
new file mode 100644 (file)
index 0000000..d8de4dc
--- /dev/null
@@ -0,0 +1,7 @@
+macro_rules! test {
+    ($($t:tt)*) => {}
+}
+
+fn main() {
+    test!( a : B => c d );
+}