Unreachable statements cause a compiler error.

Empty blocks, like a while( true ) block with nothing in it, are removed per the compiler's optimization logic.

In your example above, I don't...