Is Turbotax incorrect in stating that the Foreign Tax Credit applies only if you have foreign income?

I am quite sure they are incorrect. I paid Portuguese taxes on my US income, and can take a credit for that.