about summary refs log tree commit diff
path: root/tests/rustdoc/source-code-pages/src-mod-path-absolute-26995.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rustdoc/source-code-pages/src-mod-path-absolute-26995.rs')
-rw-r--r--tests/rustdoc/source-code-pages/src-mod-path-absolute-26995.rs10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/rustdoc/source-code-pages/src-mod-path-absolute-26995.rs b/tests/rustdoc/source-code-pages/src-mod-path-absolute-26995.rs
new file mode 100644
index 00000000000..f754b64977f
--- /dev/null
+++ b/tests/rustdoc/source-code-pages/src-mod-path-absolute-26995.rs
@@ -0,0 +1,10 @@
+//@ ignore-windows
+//@ compile-flags: --no-defaults
+
+// https://github.com/rust-lang/rust/issues/26995
+#![crate_name="issue_26995"]
+
+//@ has src/issue_26995/dev/null.html
+//@ has issue_26995/null/index.html '//a/@href' '../../src/issue_26995/dev/null.html'
+#[path="/dev/null"]
+pub mod null;