about summary refs log tree commit diff
path: root/tests/rustdoc/inline_cross/impl-ref-33113.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rustdoc/inline_cross/impl-ref-33113.rs')
-rw-r--r--tests/rustdoc/inline_cross/impl-ref-33113.rs13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/rustdoc/inline_cross/impl-ref-33113.rs b/tests/rustdoc/inline_cross/impl-ref-33113.rs
new file mode 100644
index 00000000000..9ac4f02e00c
--- /dev/null
+++ b/tests/rustdoc/inline_cross/impl-ref-33113.rs
@@ -0,0 +1,13 @@
+// https://github.com/rust-lang/rust/issues/33113
+#![crate_name="foobar"]
+
+//@ aux-build:issue-33113.rs
+//@ build-aux-docs
+//@ ignore-cross-compile
+
+extern crate bar;
+
+//@ has foobar/trait.Bar.html
+//@ has - '//h3[@class="code-header"]' "for &'a char"
+//@ has - '//h3[@class="code-header"]' "for Foo"
+pub use bar::Bar;