Will TurboTax catch if you don't have enough income for IRA contribution?

Suppose you contributed $6500 to IRA, but only had $5000 of earned income. Will TurboTax give a warning or error message? For science, I created a dummy TurboTax file, and entered those amounts. But the checks at various stages and final review did not seem to give any errors.