Sign in
android
/
platform
/
external
/
clang
/
1316370
/
.
/
test
/
Tooling
/
clang-check-analyzer.cpp
blob: 16cf7ce603baddf2412e908dc9d4ffc03304c426 [
file
] [
log
] [
blame
]
// RUN: clang-check -analyze "%s" -- -c 2>&1 | FileCheck %s
// CHECK: Dereference of null pointer
int
a
(
int
*
x
)
{
if
(
x
){}
*
x
=
47
;
}