Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lldb / test / API / lang / cpp / break-on-initializers / main.cpp
bloba661b2fd69511ca27a7b5ad70ca1345c3065d4d2
1 class Trivial {
2 public:
3 Trivial(int input) : m_int(input) {}
4 private:
5 int m_int;
6 };
8 class Foo {
9 private:
10 Trivial m_trivial = Trivial(100); // Set the before constructor breakpoint here
12 public:
13 Foo(int input) {
14 ++input;
17 private:
18 Trivial m_other_trivial = Trivial(200); // Set the after constructor breakpoint here
21 int main() {
22 Foo myFoo(10); // Set a breakpoint here to get started
23 return 0;