?Can you tell me the name of the movie?

The film ends with the two characters in an exploding vault. It turns out that the two are actually alive and friends. Afterwards, they watch their funeral from the sidelines. It’s an action movie. Can you tell me the name of the movie?