summaryrefslogtreecommitdiff
path: root/tests/typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-04-19 17:51:33 +0200
committerLaurenz <laurmaedje@gmail.com>2023-04-19 17:51:33 +0200
commitf08ae95b9d8be5165f9c8cac4c755d0510c3a18a (patch)
treecc4bdf617618535d128e1a5611f270c8a99df31f /tests/typ
parent5a6330dbfce9ed30c77502b66db843fd72b2d267 (diff)
Fix argument sinks
Fixes #886.
Diffstat (limited to 'tests/typ')
-rw-r--r--tests/typ/bugs/args-sink.typ5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/typ/bugs/args-sink.typ b/tests/typ/bugs/args-sink.typ
new file mode 100644
index 00000000..4f7492ac
--- /dev/null
+++ b/tests/typ/bugs/args-sink.typ
@@ -0,0 +1,5 @@
+// Test bugs with argument sinks.
+
+---
+#let foo(..body) = repr(body.pos())
+#foo(a: "1", b: "2", 1, 2, 3, 4, 5, 6)