c test_index_12980 generated from template at 2025-01-22 13:25:35
c Validates index() offsets when used with if() - see #12980
c Test with v10+ kmw compiler

store(&VERSION) '14.0'
store(&NAME) 'test_index_12980_v10'
store(&TARGETS) 'web'


begin Unicode > use(main)

group(main) using keys

store(a) '1'
store(b) '2'
store(c) '3'
store(d) '4'
store(e) '5'
store(f) '6'
store(g) '7'
store(h) '8'

if(&platform = 'web') any(a) + 'a' > context 'A'
if(&platform = 'web') any(b) + 'b' > context(2) 'B'
if(&platform = 'web') notany(c) + 'c' > context 'C'
if(&platform = 'web') notany(d) + 'd' > context(2) 'D'
nul any(e) + 'e' > context 'E'
nul any(f) + 'f' > context(2) 'F'
nul notany(g) + 'g' > context 'G'
nul notany(h) + 'h' > context(2) 'H'
