1 // RUN: %clang_cc1 -analyze -analyzer-checker=unix.Malloc %s 2 // Do not crash due to division by zero 3 f(unsigned int a)4 int f(unsigned int a) { 5 if (a <= 0) return 1 / a; 6 return a; 7 } 8