Irony is is when you use an expression that denotes the opposite of what you mean, generally for purposes of humor or to emphasize a point you are making. Foreshadowing is when something happens that gives a warning or indication of a future event occurring.