summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/suite/model/ref.typ5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/suite/model/ref.typ b/tests/suite/model/ref.typ
index 200f40aa..d0881202 100644
--- a/tests/suite/model/ref.typ
+++ b/tests/suite/model/ref.typ
@@ -54,3 +54,8 @@ $ A = 1 $ <eq2>
// Error: 1-7 label occurs in the document and its bibliography
@arrgh
#bibliography("/assets/bib/works.bib")
+
+--- issue-4536-non-whitespace-before-ref ---
+// Test reference with non-whitespace before it.
+#figure[] <1>
+#test([(#ref(<1>))], [(@1)])