/in/foo.cc: In function 'int main()':
/in/foo.cc:11:12: error: expected ')' before ';' token
if(int i=1;i<=n;i++)
^
/in/foo.cc:11:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(int i=1;i<=n;i++)
^~
/in/foo.cc:11:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if(int i=1;i<=n;i++)
^
/in/foo.cc:11:9: warning: unused variable 'i' [-Wunused-variable]
if(int i=1;i<=n;i++)
^
/in/foo.cc:11:13: error: 'i' was not declared in this scope
if(int i=1;i<=n;i++)
^