xref: /illumos-gate/usr/src/test/util-tests/tests/awk/syn/arryref5.awk (revision 45ede40b2394db7967e59f19288fae9b62efd4aa)
1BEGIN {
2	foo(a)
3
4	print  a
5}
6
7function foo(b)
8{
9	b[2] = "local"
10	a = "global"
11#	bar(b)
12}
13
14function bar(c)
15{
16	c = 12
17}
18