3 ms·
> switch (i) case 1: puts("i = 1"); I've seen this in the wild, particularly with macros. #define assert(c) if (!c) ... if (foo) assert(...);
by junon 2y ago
> switch (i) case 1: puts("i = 1");
I've seen this in the wild, particularly with macros.
#define assert(c) if (!c) ...
if (foo) assert(...);
else bar(); // oops!