summaryrefslogtreecommitdiffstats
path: root/src/test/rustdoc/external-cross.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/rustdoc/external-cross.rs')
-rw-r--r--src/test/rustdoc/external-cross.rs10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/test/rustdoc/external-cross.rs b/src/test/rustdoc/external-cross.rs
new file mode 100644
index 000000000..3f8e16882
--- /dev/null
+++ b/src/test/rustdoc/external-cross.rs
@@ -0,0 +1,10 @@
+// aux-build:external-cross.rs
+// ignore-cross-compile
+
+#![crate_name="host"]
+
+extern crate external_cross;
+
+// @has host/struct.NeedMoreDocs.html
+// @has - '//h2' 'Cross-crate imported docs'
+pub use external_cross::NeedMoreDocs;