--TEST-- test memory problem with negative index --INPUT-- foo,bar --EXPECTED-- n foo