summaryrefslogtreecommitdiff
path: root/tests/lang/typ/call-value.typ
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lang/typ/call-value.typ')
-rw-r--r--tests/lang/typ/call-value.typ14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/lang/typ/call-value.typ b/tests/lang/typ/call-value.typ
new file mode 100644
index 00000000..0e257717
--- /dev/null
+++ b/tests/lang/typ/call-value.typ
@@ -0,0 +1,14 @@
+// Test function calls.
+// Ref: false
+
+---
+// Whitespace is insignificant.
+#test(type(1), "integer")
+#test (type (1), "integer")
+
+// From variable.
+#let alias = type
+#test(alias(alias), "function")
+
+// Returns template.
+#test(type(font(12pt)), "template")