(v)A fund is bequeathed to A for life, and, after his death, to B, if B shall be then living, with a proviso that, if B shall become a nun, the bequest to her shall cease to have any effect. B becomes a nun in the lifetime of A. She thereby loses her contingent interest in the fund.