1 // FIXME: Figure out how to use %clang_analyze_cc1 with our lit.local.cfg.
2 // RUN: %clang_cc1 -analyze -triple x86_64-unknown-linux-gnu \
3 // RUN: -analyzer-checker=core \
4 // RUN: -analyzer-dump-egraph=%t.dot %s
5 // RUN: %exploded_graph_rewriter %t.dot | FileCheck %s
6 // REQUIRES: asserts
7
8 struct A {
AA9 A() {}
10 };
11
12 struct B {
13 A a;
BB14 B() : a() {}
15 };
16
test()17 void test() {
18 // CHECK: (construct into member variable)
19 // CHECK-SAME: <td align="left">a</td>
20 // CHECK-SAME: <td align="left">&b.a</td>
21 B b;
22 }
23