summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/issue-25944.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rustdoc/issue-25944.rs')
-rw-r--r--tests/rustdoc/issue-25944.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/rustdoc/issue-25944.rs b/tests/rustdoc/issue-25944.rs
new file mode 100644
index 000000000..49625294b
--- /dev/null
+++ b/tests/rustdoc/issue-25944.rs
@@ -0,0 +1,11 @@
+// compile-flags:--test
+
+/// ```
+/// let a = r#"
+/// foo
+/// bar"#;
+/// let b = "\nfoo\nbar";
+/// assert_eq!(a, b);
+/// ```
+pub fn main() {
+}