/in/foo.cc: In function 'int main()':
/in/foo.cc:12:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if(y=12) t+=30;
^
/in/foo.cc:13:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if(y=11) t+=31;
^
/in/foo.cc:14:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if(y=10) t+=30;
^
/in/foo.cc:15:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if(y=9) t+=31;
^
/in/foo.cc:16:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if(y=8) t+=31;
^
/in/foo.cc:17:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if(y=7) t+=30;
^
/in/foo.cc:18:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if(y=6) t+=31;
^
/in/foo.cc:19:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if(y=5) t+=30;
^
/in/foo.cc:20:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if(y=4) t+=31;
^
/in/foo.cc:21:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if(y=3) t+=28;
^
/in/foo.cc:22:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if(y=2) t+=31;
^
/in/foo.cc:23:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if(y=1);
^