~vcs-imports/gawk/master

408.20.44 by Arnold D. Robbins
Fix typeof to not change untyped param to scalar.
1
BEGIN {
2
	print typeof(x)
3
	x[1] = 3
4
	print typeof(x)
5
}
6
7
function test1() {
8
}
9
10
function test2(p) {
11
	p[1] = 1
12
}
13
14
BEGIN {
15
	print typeof(a)
16
	test1(a)
17
	print typeof(a)
18
	test2(a)
19
	print typeof(a)
20
}