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