Selling truck without Smog in California

I guess my question is if you have, say a 79 Camaro, that isn't even running and you want to sell to someone to fix up, are you just not allowed to sell it because it can't pass smog? There's got to be some way around this otherwise no one would ever be able to sell a non running car after 1975 in California.