From de6786eb28c3034dfef654da73b09358fbd8cd90 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Fri, 29 Oct 2021 16:04:55 +0200 Subject: Allow multiple template bodies --- tests/typ/code/call.typ | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests/typ/code') 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,) -- cgit v1.2.3