summaryrefslogtreecommitdiff
path: root/tests/typ/bugs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ/bugs')
-rw-r--r--tests/typ/bugs/args-underscore.typ5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/typ/bugs/args-underscore.typ b/tests/typ/bugs/args-underscore.typ
new file mode 100644
index 00000000..ca3c0ff8
--- /dev/null
+++ b/tests/typ/bugs/args-underscore.typ
@@ -0,0 +1,5 @@
+// Test that lone underscore works.
+// Ref: false
+
+---
+#test((1, 2, 3).map(_ => {}).len(), 3)