Ireland has approved a new law making the country first in the world to require cancer warning labels on alcoholic beverages.