I'm not sure what is clinging on the pedicel but I don't think that should be there if it was Gomphocarpus.
The fruit also looks solid. I think Axel is right. I think it is a prickly chayote, Sechium. Like this one. http://www.potomitan.info/phototheque/sechium_edule.php