summaryrefslogtreecommitdiffstats
path: root/contrib/awk/test/prtoeval.awk
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/awk/test/prtoeval.awk')
-rw-r--r--contrib/awk/test/prtoeval.awk4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/awk/test/prtoeval.awk b/contrib/awk/test/prtoeval.awk
new file mode 100644
index 0000000..77880d8
--- /dev/null
+++ b/contrib/awk/test/prtoeval.awk
@@ -0,0 +1,4 @@
+function returns_a_str() { print "<in function>" ; return "'A STRING'" }
+BEGIN {
+ print "partial line:", returns_a_str()
+}
OpenPOWER on IntegriCloud