summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/reexport-doc.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rustdoc/reexport-doc.rs')
-rw-r--r--tests/rustdoc/reexport-doc.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/rustdoc/reexport-doc.rs b/tests/rustdoc/reexport-doc.rs
new file mode 100644
index 000000000..df2c889b4
--- /dev/null
+++ b/tests/rustdoc/reexport-doc.rs
@@ -0,0 +1,8 @@
+// aux-build:reexport-doc-aux.rs
+
+extern crate reexport_doc_aux as dep;
+
+// @has 'reexport_doc/struct.Foo.html'
+// @count - '//p' 'These are the docs for Foo.' 1
+/// These are the docs for Foo.
+pub use dep::Foo;