In Switzerland, the law is clear about who your heirs will be. However, in a will or contract of succession you can influence how at least part of your estate will be distributed.
News
The law of succession is currently under review. It is planned to give people more freedom to dispose of their assets as they wish.