[Heikki Kultala] This patch contains the ABI changes for the TCE target.
[clang.git] / test / Analysis / initializer.cpp
blob2fa3a9eb86a7bbab19ddc951d8864eac38fabc15
1 // RUN: %clang_cc1 -analyze -analyzer-check-objc-mem -analyzer-store region -cfg-add-initializers -verify %s
3 class A {
4 int x;
5 public:
6 A();
7 };
9 A::A() : x(0) {
10 if (x != 0) {
11 int *p = 0;
12 *p = 0; // no-warning