summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/auxiliary/issue-17476.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rustdoc/auxiliary/issue-17476.rs')
-rw-r--r--tests/rustdoc/auxiliary/issue-17476.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/rustdoc/auxiliary/issue-17476.rs b/tests/rustdoc/auxiliary/issue-17476.rs
new file mode 100644
index 000000000..80c915eb7
--- /dev/null
+++ b/tests/rustdoc/auxiliary/issue-17476.rs
@@ -0,0 +1,7 @@
+// compile-flags: -Cmetadata=aux
+
+#![doc(html_root_url = "http://example.com")]
+
+pub trait Foo {
+ fn foo(&self) {}
+}