Offline? Nothing. The car will have some dents and scratches, but the car itself will drive like nothing happened. No mechanical damage.
Online, it depends on what setting the room is. Weak damage=damage, but it will fix itself slowly. Strong damage=car will drift to one side, engine might be performing worse, and you can only fix it by going to the pits.