xref: /freebsd/contrib/one-true-awk/testdir/t.fun2 (revision 911f0260390e18cf85f3dbf2c719b593efdc1e3c)
1function f(n) {
2	while (n < 10) {
3		print n
4		n = n + 1
5	}
6}
7function g(n) {
8	print "g", n
9}
10{ f($1); g($1); print n }
11