summaryrefslogtreecommitdiffstats
path: root/src/test/rustdoc/reexport-doc.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/rustdoc/reexport-doc.rs')
-rw-r--r--src/test/rustdoc/reexport-doc.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test/rustdoc/reexport-doc.rs b/src/test/rustdoc/reexport-doc.rs
new file mode 100644
index 000000000..df2c889b4
--- /dev/null
+++ b/src/test/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;