+1California's assault weapons ban is similar in regard to pre-ban rifles. You can possess a pre-ban rifle as long as you registered it before June 30, 2018 but you can't sell it and you can't leave it to a family member in your will. If you die your heirs are required to turn the gun in to a law enforcement agency to be destroyed.
If you own a pre-ban rifle and you did not register it you can, if caught, be fined $500 or sentenced up to one year in a county jail and the rifle will be confiscated. That's for the first conviction. Who knows what happens if there is a second conviction. They'll probably sterilize you so that you can no longer contaminate society by reproducing.