gecko-dev/tools/clang-tidy/test/clang-analyzer-core.DivideZero.cpp
2018-10-02 14:10:32 +00:00

4 lines
No EOL
53 B
C++

void test(int z) {
if (z == 0)
int x = 1 / z;
}