summaryrefslogtreecommitdiff
path: root/tests/suite
diff options
context:
space:
mode:
Diffstat (limited to 'tests/suite')
-rw-r--r--tests/suite/scripting/call.typ7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/suite/scripting/call.typ b/tests/suite/scripting/call.typ
index 34344608..5a5fb326 100644
--- a/tests/suite/scripting/call.typ
+++ b/tests/suite/scripting/call.typ
@@ -49,6 +49,13 @@
// Error: 2-3 expected function, found string
#x()
+--- call-shadowed-builtin-function ---
+#let image = "image"
+
+// Error: 2-7 expected function, found string
+// Hint: 2-7 use `std.image` to access the shadowed standard library function
+#image("image")
+
--- call-bad-type-int-expr ---
#let f(x) = x