Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
d98aab5a7ed06af779fdafa293b0df44ce8606dc
/
.
/
test
/
Analysis
/
null-deref-ps.c
blob: c0a26063d7bccfa6e6b54670d52269db5dd8f529 [
file
] [
log
] [
blame
]
// RUN: clang -grsimple -verify %s
void
f1
(
int
*
p
)
{
if
(
p
)
*
p
=
1
;
else
*
p
=
0
;
// expected-warning{{ereference}}
}