Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Analysis / Inputs / ctu-cxxdefaultinitexpr-import.cpp
blobe0e356ff555cf238ed2c3bc3415238df85024081
1 namespace QHashPrivate {
2 template <typename> int b;
3 struct Data;
4 } // namespace QHashPrivate
6 struct QDomNodePrivate {};
7 template <typename = struct QString> struct QMultiHash {
8 QHashPrivate::Data *d = nullptr;
9 };
11 struct QDomNamedNodeMapPrivate {
12 QMultiHash<> map;
14 struct QDomElementPrivate : QDomNodePrivate {
15 QDomElementPrivate();
16 void importee();
17 QMultiHash<> *m_attr = nullptr;
19 // --------- common part end ---------
21 QDomElementPrivate::QDomElementPrivate() : m_attr{new QMultiHash<>} {}
22 void QDomElementPrivate::importee() { (void)QMultiHash<>{}; }
23 struct foo {
24 QDomElementPrivate m = {};
25 static const int value = (QHashPrivate::b<foo>, 22);