Sign in
cobalt
/
cobalt
/
48a26ba16b322e0d7086b7363838cb76e0cda6fe
/
.
/
src
/
third_party
/
llvm-project
/
clang
/
test
/
Tooling
/
clang-check-analyzer.cpp
blob: ee0a6dc369caf4ef21a8596dbdff1bd5ce808936 [
file
] [
log
] [
blame
]
// RUN: clang-check -analyze "%s" -- -c 2>&1 | FileCheck %s
// CHECK: Dereference of null pointer
void
a
(
int
*
x
)
{
if
(
x
){}
*
x
=
47
;
}