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 scenario, the audience knows that both characters have sacrificed something valuable for the other, leading to an ironic twist, as their gifts for each other become useless.