1f51a89d39
These were ignored by git accidentally. We want ALL OF THEM since they all came in the llvm/clang source distribution.
15 lines
226 B
C++
15 lines
226 B
C++
// 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
|
|
}
|
|
}
|