summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-ui/issues/issue-101076.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rustdoc-ui/issues/issue-101076.rs')
-rw-r--r--tests/rustdoc-ui/issues/issue-101076.rs14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/rustdoc-ui/issues/issue-101076.rs b/tests/rustdoc-ui/issues/issue-101076.rs
new file mode 100644
index 000000000..648f99029
--- /dev/null
+++ b/tests/rustdoc-ui/issues/issue-101076.rs
@@ -0,0 +1,14 @@
+// check-pass
+
+const _: () = {
+ #[macro_export]
+ macro_rules! first_macro {
+ () => {}
+ }
+ mod foo {
+ #[macro_export]
+ macro_rules! second_macro {
+ () => {}
+ }
+ }
+};