First, laws that provide a benefit to all marital children, but no nonmarital children, always are declared unconstitutional. Second, laws that provide a benefit to some nonmarital children, while denying the benefit to other nonmarital children, are evaluated on a case-by-case basis under intermediate scrutiny.