summaryrefslogtreecommitdiff
path: root/test/funsemnl.awk
diff options
context:
space:
mode:
Diffstat (limited to 'test/funsemnl.awk')
-rw-r--r--test/funsemnl.awk3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/funsemnl.awk b/test/funsemnl.awk
new file mode 100644
index 0000000..6b39dca
--- /dev/null
+++ b/test/funsemnl.awk
@@ -0,0 +1,3 @@
+# make sure that ; + \n at end after function works
+function foo() { print "foo" } ;
+BEGIN { foo() }