]>
Commit | Line | Data |
---|---|---|
39a8cd10 A |
1 | |
2 | ||
3 | class test | |
4 | { | |
5 | public: | |
6 | virtual void aa() {} | |
7 | ||
8 | int f; | |
9 | }; | |
10 | ||
11 | class testsub : public test | |
12 | { | |
13 | public: | |
14 | testsub() : g(0) {} | |
15 | virtual void aa() {} | |
16 | ||
17 | int g; | |
18 | }; | |
19 | ||
20 | ||
21 | class testsubother : public test | |
22 | { | |
23 | public: | |
24 | testsubother() : h(0) {} | |
25 | virtual void aa() {} | |
26 | ||
27 | int h; | |
28 | }; | |
29 | ||
30 | extern test* maketestsub(); | |
31 | ||
32 | extern bool istestsub(test* t); |