xref: /llvm-project/lldb/test/API/lang/cpp/dynamic-value/anonymous-b.cpp (revision dd5d73007240712957f2b633f795d9965afaadd6)
1*dd5d7300SPavel Labath #include "a.h"
2*dd5d7300SPavel Labath 
3*dd5d7300SPavel Labath namespace {
4*dd5d7300SPavel Labath class B : public A {
5*dd5d7300SPavel Labath public:
6*dd5d7300SPavel Labath   B() : A(42) {}
7*dd5d7300SPavel Labath 
8*dd5d7300SPavel Labath private:
9*dd5d7300SPavel Labath   int m_anon_b_value = 47;
10*dd5d7300SPavel Labath };
11*dd5d7300SPavel Labath } // namespace
12*dd5d7300SPavel Labath 
13*dd5d7300SPavel Labath A *make_anonymous_B() { return new B(); }
14