void xx(char cc) { char aa; switch(cc) { case 1:case 0: aa=1; break; case 2,3: aa=2; break; } }
//----------------------------------
xx(0); //run OK xx(1); //run OK xx(2); //run FAIL <<***************** xx(3); //run OK
0 Error(s) 0 warning(s) ,you can step test I know of no C compiler that catches and report each and every possible mistake.
Erik