Debian Codegraph @

test/typeof3.awk

raw
1 BEGIN {
2 x = @/xx/
3 print typeof(x)
4 print x
5 }
6
7 # this set may not really be needed for the test
8 BEGIN {
9 x = 4
10 print typeof(@/xxx/)
11 print typeof(3)
12 print x
13 }
14
15 BEGIN {
16 print typeof(x)
17 print typeof(a[1])
18 a[1][2] # this used to fatal, it no longer does
19 }