Hacker News new | ask | show | jobs
by witty_username 1653 days ago
No, if your program ever invokes UB, anything could happen (even at the beginning). In other words, UB can time travel.
1 comments

If the {…} includes a break, undefined behavior could well be avoided.