It can vary greatly. Factors to consider are amount of light the food was exposed to, how much heat it had been exposed to, if it was possible it could have frozen, even the type of food itself.
I've seen some cans of soup that have a date to 5 years in advance or more. There are probably cases where 10 year old canned food properly stored would still be edible.
But the food is so old that it has likely lost whatever nutritional value it had. While it still may not technically be "spoiled", food that old generally has lost it's good values. Most survivalists who store food try to rotate their canned stocks so as to eat up anything before it gets older than 1 year. After that, the nutritional value really starts to recede, fast.
Granted, you aren't depending on this as your sole source of food. But I'd dump it in the trash and not chance eating it. I mean you just never know. No point in risking getting sick by crap food that only costs $0.40 per can anyway.