repo.or.cz
/
clang.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[Heikki Kultala] This patch contains the ABI changes for the TCE target.
[clang.git]
/
test
/
Analysis
/
initializer.cpp
blob
2fa3a9eb86a7bbab19ddc951d8864eac38fabc15
1
// RUN: %clang_cc1 -analyze -analyzer-check-objc-mem -analyzer-store region -cfg-add-initializers -verify %s
2
3
class
A
{
4
int
x
;
5
public
:
6
A
();
7
};
8
9
A
::
A
() :
x
(
0
) {
10
if
(
x
!=
0
) {
11
int
*
p
=
0
;
12
*
p
=
0
;
// no-warning
13
}
14
}