darling-dyld/unit-tests/test-cases/dynamic_cast-basic/foo.cxx
2022-04-18 20:33:29 -07:00

16 lines
163 B
C++

#include <stdlib.h>
#include "foo.h"
test* maketestsub()
{
return new testsub();
}
bool istestsub(test* t)
{
return (dynamic_cast<testsub*>(t) != NULL);
}