summaryrefslogtreecommitdiffstats
path: root/src/test/rustdoc/without-redirect.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/rustdoc/without-redirect.rs')
-rw-r--r--src/test/rustdoc/without-redirect.rs13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/test/rustdoc/without-redirect.rs b/src/test/rustdoc/without-redirect.rs
new file mode 100644
index 000000000..a076f8a3c
--- /dev/null
+++ b/src/test/rustdoc/without-redirect.rs
@@ -0,0 +1,13 @@
+#![crate_name = "foo"]
+
+// @has foo/macro.bar.html
+// @has foo/macro.bar!.html
+// @!has foo/bar.m.html
+#[macro_export]
+macro_rules! bar {
+ () => {}
+}
+
+// @has foo/struct.Bar.html
+// @!has foo/Bar.t.html
+pub struct Bar;