That's how I test the compiler's level of consciousness. Does it just blindly apply some predefined optimisations like an automaton, or does it enter into a meaningful discussion with me to determine my real intent here, and the best way to fulfil it?
OK... The compiler will do your job for you, drop the \n and use a puts instead, but, still, it'll be very disappointed with you.