Juha Nieminen said:
You conveniently omitted the context, was "declare where used".
$ g++ -o /tmp/bbb /tmp/a.cpp
/tmp/a.cpp: In function 'int main(int, char**)':
/tmp/a.cpp:27:1: error: jump to label 'leave' [-fpermissive]
/tmp/a.cpp:19:12: error: from here [-fpermissive]
/tmp/a.cpp:23:7: error: crosses initialization of 'int b'