dividezero_example.c 117 B

123456789
  1. void test(int z) {
  2. if (z == 0)
  3. int x = 1 / z; // warn
  4. }
  5. void test() {
  6. int x = 1;
  7. int y = x % 0; // warn
  8. }