/in/foo.c: In function 'f':
/in/foo.c:2:5: warning: type of 'n' defaults to 'int' [-Wimplicit-int]
int f(n){
^
/in/foo.c:3:1: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if(n=1)
^~
/in/foo.c:3:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
/in/foo.c:5:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if(n=2)
^~
/in/foo.c:5:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses]