summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/issue-26606.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rustdoc/issue-26606.rs')
-rw-r--r--tests/rustdoc/issue-26606.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/rustdoc/issue-26606.rs b/tests/rustdoc/issue-26606.rs
new file mode 100644
index 000000000..d5cb2c710
--- /dev/null
+++ b/tests/rustdoc/issue-26606.rs
@@ -0,0 +1,11 @@
+// aux-build:issue-26606-macro.rs
+// ignore-cross-compile
+// build-aux-docs
+
+// @has issue_26606_macro/macro.make_item.html
+#[macro_use]
+extern crate issue_26606_macro;
+
+// @has issue_26606/constant.FOO.html
+// @has - '//a[@href="../src/issue_26606/issue-26606.rs.html#11"]' 'source'
+make_item!(FOO);