If someone can explain what happens, then one of two things is probably true: they've purposefully memorized an edge case for the sake of trivia, or their knowledge of language semantics and runtime behavior is deep enough to figure out what happens in an unusual circumstance.
I agree that doesn't tell you if the candidate is good at solving problems using C++, but there is potential to discover how deep their understanding is.