xref: /freebsd/contrib/one-true-awk/testdir/t.fun2 (revision d7d962ead0b6e5e8a39202d0590022082bf5bfb6)
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