[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / Analysis / exploded-graph-rewriter / initializers_under_construction.cpp
blob82b7f3269f318a0915557a59fad311f96d88a962
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
7 struct A {
8 A() {}
9 };
11 struct B {
12 A a;
13 B() : a() {}
16 void test() {
17 // CHECK: (construct into member variable)
18 // CHECK-SAME: <td align="left">a</td>
19 // CHECK-SAME: <td align="left">&amp;b.a</td>
20 B b;