Mercurial > hg > CbC > CbC_llvm
view clang/docs/analyzer/checkers/dividezero_example.c @ 173:0572611fdcc8 llvm10 llvm12
reorgnization done
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 11:55:54 +0900 |
parents | 1d019706d866 |
children |
line wrap: on
line source
void test(int z) { if (z == 0) int x = 1 / z; // warn } void test() { int x = 1; int y = x % 0; // warn }