Skip to content

Instantly share code, notes, and snippets.

@simonlindholm
Last active August 29, 2015 14:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save simonlindholm/d20d8e216b277d4c7550 to your computer and use it in GitHub Desktop.
Save simonlindholm/d20d8e216b277d4c7550 to your computer and use it in GitHub Desktop.
no comment
enum TryState {
TryEval = 1
};
int func() {
for (int state; ; ({break;}))
if (0)
out: break;
else
for (int i = 0; ; ++i)
switch((enum TryState)i)
default:
if (i == 0) {
foo(&state);
goto out;
} else
case TryEval:
return 1;
puts("got here");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment