The example of dramatic irony is: A wife cuts and sells her hair to buy a watch chain for her husband, who has sold his watch to buy combs for her hair.
In this situation, the audience knows that both characters have sacrificed something valuable for each other without realizing that their gifts will be useless, creating a poignant tension between their love and the irony of their actions.