]> git.saurik.com Git - apple/dyld.git/blob - unit-tests/test-cases/dynamic_cast-basic/foo.cxx
dyld-733.6.tar.gz
[apple/dyld.git] / unit-tests / test-cases / dynamic_cast-basic / foo.cxx
1
2 #include <stdlib.h>
3
4 #include "foo.h"
5
6 test* maketestsub()
7 {
8 return new testsub();
9 }
10
11 bool istestsub(test* t)
12 {
13 return (dynamic_cast<testsub*>(t) != NULL);
14 }
15