That you can compile with with labels instead of _any_ actual case statements :-) although your source, at a cursory glance, looks like it has valid cases defined.
Nice safer CFLAGS :-) But yeah, that's why this is a "brain teaser" rather than a "compiler teaser." It's not that it _can't_ be caught with a compiler, just that it's easy to miss and acceptable to compilers with default flags.
Every time I forget to type "case " I'm instantly corrected when my editor (rightly) removes all indentation and puts the label on the leftmost column.
18 comments
[ 3.2 ms ] story [ 48.2 ms ] thread(but you get the point :D)
If you were inspecting code without a compiler it's easier to miss.
The standard '-Wall -Werror' catches it (arguably, it'd be nice if everyone _at least_ did -Wall by default).
And yet I missed it :(