You would get a severance pay (I think one month pay per year).