Debian Codegraph @

test/lintindex.awk

raw
1 BEGIN {
2 x = 537
3 y = 3
4 z = index(x, y) # should print lint warning
5 # now that STRCUR has been trigged on x and y, check that we still
6 # get the warning
7 z = index(x, y) # should print lint warning
8 if (z != 2)
9 print "oops"
10 }