summaryrefslogtreecommitdiffstats
path: root/src/tools/rustfmt/tests/target/macro_not_expr.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/rustfmt/tests/target/macro_not_expr.rs')
-rw-r--r--src/tools/rustfmt/tests/target/macro_not_expr.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/tools/rustfmt/tests/target/macro_not_expr.rs b/src/tools/rustfmt/tests/target/macro_not_expr.rs
new file mode 100644
index 000000000..45f85ff2c
--- /dev/null
+++ b/src/tools/rustfmt/tests/target/macro_not_expr.rs
@@ -0,0 +1,7 @@
+macro_rules! test {
+ ($($t:tt)*) => {};
+}
+
+fn main() {
+ test!( a : B => c d );
+}