8 Movie Characters Who Foreshadowed Their Own Deaths
2. M (Skyfall)
M's death at the end of Skyfall was first foreshadowed in the opening credits, and it was later foreshadowed again via a quick line of dialogue spoken by the character herself.
During the scene where M meets with Mallory, the latter tells her that she will be forced to retire in two months, as a result of her losing a hard drive containing important information about NATO spies.
As you'd expect, M doesn't take too kindly to this idea, and she sternly tells Mallory that "I'll leave when the job's done", before exiting his office.
Then, at the end of the film, M dies just outside Bond's family home in Scotland, succumbing to a bullet wound she received during an earlier shootout.
Fortunately for her, at the time of her death, Silva - Skyfall's main antagonist - was dead, and it's assumed that the information on the hard drive (which he stole) had gone with him.
Or, to put it another way, she only died when the job was done.