/in/foo.c: In function 'main':
/in/foo.c:45:3: error: case label not within a switch statement
case 0:puts("A!=B");break;
^~~~
/in/foo.c:45:23: error: break statement not within loop or switch
case 0:puts("A!=B");break;
^~~~~
/in/foo.c:46:3: error: case label not within a switch statement
case 1:puts("A=B");break;
^~~~
/in/foo.c:46:22: error: break statement not within loop or switch
case 1:puts("A=B");break;
^~~~~
/in/foo.c:47:3: error: case label not within a switch statement
case 2:puts("A rotate 90,A=B");
^~~~
/in/foo.c: In function 'equal':
/in/foo.c:13:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^