Main.cc: In function 'int a(int, int)': Main.cc:11:5: error: expected ';' before '}' token } ^ Main.cc:12:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^