summaryrefslogtreecommitdiffstats
path: root/src/test/rustdoc/test-strikethrough.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/rustdoc/test-strikethrough.rs')
-rw-r--r--src/test/rustdoc/test-strikethrough.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/test/rustdoc/test-strikethrough.rs b/src/test/rustdoc/test-strikethrough.rs
new file mode 100644
index 000000000..c7855729a
--- /dev/null
+++ b/src/test/rustdoc/test-strikethrough.rs
@@ -0,0 +1,6 @@
+#![crate_name = "foo"]
+
+// @has foo/fn.f.html
+// @has - //del "Y"
+/// ~~Y~~
+pub fn f() {}