If you have not contributed to the investment account and derive no beneficial ownership from the account you will not enter the T5008. The joint owner will claim the full amount. You will need the beneficial account owner to provide you with confirmation they have reported the T5008. (CRA may ask for confirmation).