aboutsummaryrefslogtreecommitdiff
path: root/lldb/test/API/lang/cpp/dynamic-value/anonymous-b.cpp
blob: 755afcbf12a988f87aaf0fa8606ddf43ee3a7a6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include "a.h"

namespace {
class B : public A {
public:
  B() : A(42) {}

private:
  int m_anon_b_value = 47;
};
} // namespace

A *make_anonymous_B() { return new B(); }