aboutsummaryrefslogtreecommitdiffstats
path: root/test/typeof3.awk
blob: e31bf602e13d0b035bc4b4f9266ae8fe038b455b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#BEGIN {
#	x = @/xx/
#	print typeof(x)
#	print x
#}

# this set may not really be needed for the test
BEGIN {
	x = 4
#	print typeof(@/xxx/)
	print typeof(3)
	print x
}

BEGIN {
	print typeof(x)
	print typeof(a[1])
	a[1][2]	# fatals on this
}