aboutsummaryrefslogtreecommitdiff
path: root/lldb/test/API/lang/cpp/expr-definition-in-dylib/lib.h
blob: 513c9a0f9c87cb1dd0c5ab79592f7d73d041ffa6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef LIB_H_IN
#define LIB_H_IN

struct Foo {
  int method();
  Foo(int val);
  ~Foo();

  int x;
};

struct Base {
  [[gnu::abi_tag("BaseCtor")]] Base();
  [[gnu::abi_tag("BaseDtor")]] ~Base();
};

struct Bar : public Base {
  [[gnu::abi_tag("Ctor")]] Bar();
  [[gnu::abi_tag("Dtor")]] ~Bar();
};

#endif // LIB_H_IN