summaryrefslogtreecommitdiffstats
path: root/tests/ui/macros/auxiliary/deprecated-macros.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/macros/auxiliary/deprecated-macros.rs')
-rw-r--r--tests/ui/macros/auxiliary/deprecated-macros.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/ui/macros/auxiliary/deprecated-macros.rs b/tests/ui/macros/auxiliary/deprecated-macros.rs
new file mode 100644
index 000000000..657a7252a
--- /dev/null
+++ b/tests/ui/macros/auxiliary/deprecated-macros.rs
@@ -0,0 +1,3 @@
+#[deprecated(since = "1.0.0", note = "deprecation note")]
+#[macro_export]
+macro_rules! deprecated_macro{ () => () }