summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/issue-60482.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rustdoc/issue-60482.rs')
-rw-r--r--tests/rustdoc/issue-60482.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/rustdoc/issue-60482.rs b/tests/rustdoc/issue-60482.rs
new file mode 100644
index 000000000..0fd1daa74
--- /dev/null
+++ b/tests/rustdoc/issue-60482.rs
@@ -0,0 +1,9 @@
+// This code caused a panic in `pulldown-cmark` 0.4.1.
+
+pub const BASIC_UNICODE: bool = true;
+
+
+/// # `BASIC_UNICODE`: `A` `|`
+/// ```text
+/// ```
+pub const BASIC_FONTS: bool = true;