aboutsummaryrefslogtreecommitdiff
path: root/tests/function/call/buildfile
diff options
context:
space:
mode:
Diffstat (limited to 'tests/function/call/buildfile')
-rw-r--r--tests/function/call/buildfile15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/function/call/buildfile b/tests/function/call/buildfile
new file mode 100644
index 0000000..93eba14
--- /dev/null
+++ b/tests/function/call/buildfile
@@ -0,0 +1,15 @@
+$identity()
+$identity (a)
+$identity (a b c)
+$identity(sub/dir{x y z})
+
+# Verify we can inhibit function call with quoting.
+#
+foo = FOO
+bar = BAR
+
+print $foo"($bar)"
+print "$foo"($bar)
+print "$foo""($bar)"
+
+./: