a contract of marriage which, according to the ancient law, rendered void a subsequent marriage solemnized in violation of it.