summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/external-cross.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rustdoc/external-cross.rs')
-rw-r--r--tests/rustdoc/external-cross.rs10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/rustdoc/external-cross.rs b/tests/rustdoc/external-cross.rs
new file mode 100644
index 000000000..3f8e16882
--- /dev/null
+++ b/tests/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;