aboutsummaryrefslogtreecommitdiffstats
path: root/test/profile3.awk
diff options
context:
space:
mode:
Diffstat (limited to 'test/profile3.awk')
-rw-r--r--test/profile3.awk9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/profile3.awk b/test/profile3.awk
new file mode 100644
index 00000000..e519374e
--- /dev/null
+++ b/test/profile3.awk
@@ -0,0 +1,9 @@
+BEGIN {
+ the_func = "p"
+ print @the_func("Hello")
+}
+
+function p(str)
+{
+ print "! " str " !"
+}