I had a relative who gave a fair bit of money when she was alive to a relative to fund a deposit on a house when he got married. The marriage only lasted a couple of years and in the divorce settlement the house got split 50-50 (a fair bit of equity I think) and I remember my relative feeling a bit put out that she had effectively subbed the ex-wife. She has since left the same relative a lot money in her will. He has a second wife now and has bought another house with the money I think so I sincerely hope they are settled for many years to come now otherwise she'll be turning in her grave! 
I'm in two minds about this whole thing. DH and I have always shared all finances, but we each have our own bank account in addition to a joint current account and joint savings account, for our own "fripperies". He has always earned much more than me so has always paid the main part of the mortgage and bills, and I've paid for any expenses for the kids, for all our holidays, and for my own personal expenditure.
However, when I inherited and looked into the way the law views inheritances, I think I read that inheritance is protected money and that if the person who inherited keeps it in their own account separate from joint money then in the event of any divorce it would be relatively protected in any separation of assets, to enable it to go down the family line and not to a divorced ex-husband. I'm not 100% sure though.
Anyway, when I inherited, I paid off our joint mortgage, gave DH money towards a new car (although he insisted on using his savings on most) and bought myself a new car (which is the main family one really as I'm the one who drives the kids round mostly). The rest I've put in just my name in savings and ISA as my work pension isn't brilliant so basically I see it mainly as my pension fund. My career always took a back seat to DH's as he was by far the higher earner and I wanted to be a SAHM for a few years when they were babies, so his pension pot isn't bad. I will also pay some towards uni costs and help the kids out with deposit on their first property.
I mean, if I die then DH will get it all anyway, which is fine. So I don't see the need to put it in a joint account as it wouldn't be easy then to keep a track of it for my own pension calculations.