summaryrefslogtreecommitdiff
path: root/tests/typ/compiler/repr.typ
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ/compiler/repr.typ')
-rw-r--r--tests/typ/compiler/repr.typ12
1 files changed, 8 insertions, 4 deletions
diff --git a/tests/typ/compiler/repr.typ b/tests/typ/compiler/repr.typ
index cfe428eb..13593a86 100644
--- a/tests/typ/compiler/repr.typ
+++ b/tests/typ/compiler/repr.typ
@@ -37,9 +37,13 @@
// Content.
#raw(lang: "typc", repr[*Hey*])
-// Functions are invisible.
-Nothing
+// Functions.
#let f(x) = x
-#f
-#rect
+#f \
+#rect \
#(() => none)
+
+// Types.
+#int \
+#type("hi") \
+#type((a: 1))