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
7 struct A {
AA8 A() {}
9 };
10
11 struct B {
12 A a;
BB13 B() : a() {}
14 };
15
test()16 void test() {
17 // CHECK: (construct into member variable)
18 // CHECK-SAME: <td align="left">a</td>
19 // CHECK-SAME: <td align="left">&b.a</td>
20 B b;
21 }
22