summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/bugs/args-sink.pngbin0 -> 1001 bytes
-rw-r--r--tests/typ/bugs/args-sink.typ5
2 files changed, 5 insertions, 0 deletions
diff --git a/tests/ref/bugs/args-sink.png b/tests/ref/bugs/args-sink.png
new file mode 100644
index 00000000..35f5021a
--- /dev/null
+++ b/tests/ref/bugs/args-sink.png
Binary files differ
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)