Most canned goods will probably last indefinitely. Unless the can shows signs of swelling (indicating the growth of anaerobic bacteria), it's probably fit for consumption.
As for the syrup, as others have stated, the sugar content is extremely high in there. Very few bacteria can grow in such an environment. However, unlike the sealed canned goods, there's a (small) chance that environmental microbes such as the molds someone else mentioned could get in the container. I wouldn't be surprised if molds were able to grow on the surface of the syrup, but I'm not aware of any that could actually live in the syrup.
Then again, I'm not really a microbiologist, so what do I know.