Phonology

Suppose a language contrasts /s/ and /z/ in most positions, but both are pronounced [s] at the ends of words. What happens to the contrast in that final position?