blob: f8a709ec40ecdb38cc2f3ed65a8a5d2b73329357 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
#include "clientdata_prop_a.h"
typedef tA t2A;
typedef A t3A;
class B : public A
{
public:
void fB() {}
};
class C : public tA
{
public:
void fC() {}
};
class D : public t2A
{
public:
void fD() {}
};
typedef D tD;
typedef tD t2D;
void test_t2A(t2A *a) {}
void test_t3A(t3A *a) {}
void test_B(B *b) {}
void test_C(C *c) {}
void test_D(D *d) {}
void test_tD(tD *d) {}
void test_t2D(t2D *d) {}
t2A *new_t2A() { return new t2A(); }
t3A *new_t3A() { return new t3A(); }
tD * new_tD () { return new tD (); }
t2D *new_t2D() { return new t2D(); }
|