I'm not sure where you live, but most of the sodas available here don't have caffeine unless they're colas. Fruit flavored sodas and root beers are almost never caffeinated, except for Mellow Yellow which I also learned too late that it had caffeine, as I grabbed one late at night and then couldn't sleep.
It was less tragic than someone dying, but having it be a guessing game whether something has caffeine and how much is dangerous and it needs much clearer labels.
Of course, we really shouldn't be drinking soda in the first place.