summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/issue-46766.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rustdoc/issue-46766.rs')
-rw-r--r--tests/rustdoc/issue-46766.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/rustdoc/issue-46766.rs b/tests/rustdoc/issue-46766.rs
new file mode 100644
index 000000000..36ab73956
--- /dev/null
+++ b/tests/rustdoc/issue-46766.rs
@@ -0,0 +1,6 @@
+#![crate_name = "foo"]
+
+pub enum Enum{Variant}
+pub use self::Enum::Variant;
+
+// @!has foo/index.html '//a/@href' './Enum/index.html'