|
From: | Dan Kegel |
Subject: | while (0) {;} while (1) compiles?! |
Date: | Mon, 11 Dec 2000 14:13:39 -0800 |
In gcc (egcs-2.91.66 or 2.95.2), the following compiles without error: main() { while (0) { int x; } while (1); } Question: what is the proper behavior in this case? :-) Sorry to admit I actually ran into this. - Dan
[Prev in Thread] | Current Thread | [Next in Thread] |