/in/foo.cc: In function 'int main()':
/in/foo.cc:12:11: error: lvalue required as left operand of assignment
if(y-1=11) t+=30;
^~
/in/foo.cc:13:11: error: lvalue required as left operand of assignment
if(y-1=10) t+=31;
^~
/in/foo.cc:14:11: error: lvalue required as left operand of assignment
if(y-1=9) t+=30;
^
/in/foo.cc:15:11: error: lvalue required as left operand of assignment
if(y-1=8) t+=31;
^
/in/foo.cc:16:11: error: lvalue required as left operand of assignment
if(y-1=7) t+=31;
^
/in/foo.cc:17:11: error: lvalue required as left operand of assignment
if(y-1=6) t+=30;
^
/in/foo.cc:18:11: error: lvalue required as left operand of assignment
if(y-1=5) t+=31;
^
/in/foo.cc:19:11: error: lvalue required as left operand of assignment
if(y-1=4) t+=30;
^
/in/foo.cc:20:11: error: lvalue required as left operand of assignment
if(y-1=3) t+=31;
^
/in/foo.cc:21:11: error: lvalue required as left operand of assignment
if(y-1=2) t+=28;
^
/in/foo.cc:22:11: error: lvalue required as left operand of assignment
if(y-1=1) t+=31;
^
/in/foo.cc:23:11: error: lvalue required as left operand of assignment
if(y-1=0)
^
/in/foo.cc:24:3: error: expected primary-expression before '}' token
}
^