The error was placed there on purpose, a change in (un)defined behavior. Had this error occurred in a test, it would have been expected and seen as the desired result.