0_0_30153474_32090.cpp: In function 'void calc()': 0_0_30153474_32090.cpp:76:13: error: a function-definition is not allowed here before '{' token void work() { ^ 0_0_30153474_32090.cpp:130:1: error: expected '}' at end of input } ^