summaryrefslogtreecommitdiff
path: root/tests/typ/code
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ/code')
-rw-r--r--tests/typ/code/call.typ5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/typ/code/call.typ b/tests/typ/code/call.typ
index ffd91769..5ab0252c 100644
--- a/tests/typ/code/call.typ
+++ b/tests/typ/code/call.typ
@@ -20,6 +20,11 @@
#f()[A]
#f([A])
+#let g(a, b) = a + b
+#g[A][B]
+#g([A], [B])
+#g()[A][B]
+
---
// Trailing comma.
#test(1 + 1, 2,)