]> git.saurik.com Git - apple/dyld.git/blob - unit-tests/test-cases/dynamic_cast-basic/foo.h
dyld-732.8.tar.gz
[apple/dyld.git] / unit-tests / test-cases / dynamic_cast-basic / foo.h
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);