Airplane, where pilot Leslie Neilsen is coming on to young Billy during his tour of the cockpit with such hints as “Have you ever seen a grown man naked?”, “Do you like movies with gladiators in them?”, and, yep, “Have you ever been in a Turkish prison?”. Billy is about 10, which makes it even funnier.
The “Turkish prison” itself probably references the earlier movie Midnight Express, which depicts exactly what attentions a young man can expect in such a facility.
Ding! We have a winnuh! In the book, there’s a lot more to the shower scene than made it into the movie. Oliver Stone, in an interview in Harper’s, IIRC, said that he’d originally made the script match the book in that scene, said that the studio vetoed it, so he had to cut it out.
Thanks all, it sounded like it was Leslie Nielsen (since I’ve heard the clip,) and thought it might have been airplane, but was perplexed by any backstory for the quote. Even if I knew it was Airplane I still woulda been a bit confused but now I know what it might also reference to!
Like many of the jokes in Airplane!, it takes the lines from Zero Hour! and pushes them to make it even funnier. This marked up transcript of Zero Hour! has the scene where little Joey chats with the captain. The line, “You ever been in a cockpit before?” is from the original.