They put in a tridion protection cell[0] and moved the engine to the back to offer SOME crumple at the front. The Euro NCAP rated it 4/5, IIHS rated it "good" but it later failed the partial frontal collision test ("poor").
A Smart Car likely would do alright in most collisions. Although it somewhat benefits from the large crumple zones of every other vehicle has on the road. If two Smart Cars collided head on, the results might be worse than if a Smart Car collided with any other vehicle type.
That all being said, just because Smart managed it, doesn't mean every small car is equally safe. Without the tridion cell and SOME crumple zone, it would be a much less safe vehicle.