summaryrefslogtreecommitdiff
path: root/test/typeof3.awk
blob: d148f373d50ce3e2a5eb632aa9a7878290d4dabf (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
}