aboutsummaryrefslogtreecommitdiff
path: root/lldb/test/API/lang/cpp/expr-definition-in-dylib/lib.cpp
blob: aa3921ffe0b1047cdcd8fcd4974dc9948678639c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include "lib.h"

#include <cstdio>

int Foo::method() { return -72; }

Foo::Foo(int val) : x(val) { std::puts(__func__); }

Foo::~Foo() { std::puts(__func__); }

Bar::Bar() { std::puts(__func__); }

Bar::~Bar() { std::puts(__func__); }

Base::Base() { std::puts(__func__); }

Base::~Base() { std::puts(__func__); }