summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/issue-33178.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rustdoc/issue-33178.rs')
-rw-r--r--tests/rustdoc/issue-33178.rs13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/rustdoc/issue-33178.rs b/tests/rustdoc/issue-33178.rs
new file mode 100644
index 000000000..1f45fe723
--- /dev/null
+++ b/tests/rustdoc/issue-33178.rs
@@ -0,0 +1,13 @@
+// aux-build:empty.rs
+// aux-build:variant-struct.rs
+// build-aux-docs
+// ignore-cross-compile
+
+// @has issue_33178/index.html
+// @has - //a/@title empty
+// @has - //a/@href ../empty/index.html
+pub extern crate empty;
+
+// @has - //a/@title variant_struct
+// @has - //a/@href ../variant_struct/index.html
+pub extern crate variant_struct as foo;