It has an overflow pipe but the water level never reaches it as it automatically reflushes. If I hold the ball cock up (which stops the water refilling) the cistern makes a loud glug, glug noise, then I can release the ball cock and it fill correctly with no auto reflush
Andrew Green, December 2006