summaryrefslogtreecommitdiff
path: root/tests/typ/code
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2021-10-29 16:04:55 +0200
committerLaurenz <laurmaedje@gmail.com>2021-10-29 16:04:55 +0200
commitde6786eb28c3034dfef654da73b09358fbd8cd90 (patch)
tree9e1569ea0bc0672aca8ad43b9b7f4d72fda94512 /tests/typ/code
parentd1ecb7e52eb2ab7ac4fde89bdc1c615d92ae3c7b (diff)
Allow multiple template bodies
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,)