A pre-1985 decree of divorce or separate maintenance or written separation agreement that applies to the tax year provides that the noncustodial parent can claim the child as a dependent, and the noncustodial parent provides at least $600 for support of the child during the tax year.