During the first escape attempt in Portal 2 (when GLaDOS is still in charge) she opens a door for you which you can choose to go through instead of following Wheatley (the blue-eyed ball). What happens if you go there?
GLaDOS closes the door and the wall. Then she fills the room with a deadly neurotoxin and you die.
Here’s a video showing that scene: