It depends on the nature and extent of the crash. At worst even gold companies with debt could be bankrupted. Aim for debt free companies in your portfolio.