Sign in
android
/
toolchain
/
rustc
/
43f0694b1feb1296004d84509e01177159e71be0
/
.
/
src
/
llvm-project
/
clang
/
docs
/
analyzer
/
checkers
/
dividezero_example.c
blob: 00ffaac491e50ef62b31100c0127291405815aac [
file
] [
log
] [
blame
]
void
test
(
int
z
)
{
if
(
z
==
0
)
int
x
=
1
/
z
;
// warn
}
void
test
()
{
int
x
=
1
;
int
y
=
x
%
0
;
// warn
}