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