brintos

brintos / llvm-project-archived public Read only

0
0
Text · 447 B · 52f23e2 Raw
21 lines · cpp
1// RUN: %clang_analyze_cc1 -triple x86_64-unknown-linux-gnu \2// RUN:                    -analyzer-checker=core \3// RUN:                    -analyzer-dump-egraph=%t.dot %s4// RUN: %exploded_graph_rewriter %t.dot | FileCheck %s5 6struct A {7  A() {}8};9 10struct B {11  A a;12  B() : a() {}13};14 15void test() {16  // CHECK: (construct into member variable)17  // CHECK-SAME: <td align="left">a</td>18  // CHECK-SAME: <td align="left">&amp;b.a</td>19  B b;20}21