What do you mean? You will get a compiler error in any case where there is a break or continue in an outermost while block. There's nothing odd or uncommon about that. Here's something closer to a real program:
int main(void)
{
while (1) {
char c = getchar();
if (c == 'q') break;
process(c);
}
return 0;
}