For driverless cars, a moral dilemma: Who lives or dies?

What if the brakes go out in a driverless car? Does it mow down a crowd of pedestrians or swerve into a concrete wall and sacrifice its passenger?