Section 100(iv) in The Indian Succession Act, 1925
(iv)A leaves a legacy to “the children of B”. B is dead and has left none but illegitimate children. All those who had at the date of the Will acquired the reputation of being the children of B are objects of the gift.