Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
b5fbb8931466eeab70a30a27a8d5f385472305a1
/
.
/
test
/
Analysis
/
initializer.cpp
blob: 656a8bf8eed839db6178c019ec7d78af2949de4f [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -analyze -analyzer-checker=core -analyzer-store region -cfg-add-initializers -verify %s
class
A
{
int
x
;
public
:
A
();
};
A
::
A
()
:
x
(
0
)
{
if
(
x
!=
0
)
{
int
*
p
=
0
;
*
p
=
0
;
// no-warning
}
}