void monopoly() {
goto jail;
int go = 0;
jail:
return;
}
int main() { monopoly(); }
In GCC, it produces the error:
monopoly.cpp: In function `void monopoly()':
monopoly.cpp:4: error: jump to label `jail'
monopoly.cpp:2: error: from here
monopoly.cpp:3: error: crosses initialization of `int go'
Haw haw haw I'm done. A more substantial post is coming soon. Hope you had a good weekend.
Hello mate greaat blog post
ReplyDelete