]> git.saurik.com Git - apple/dyld.git/blob - testing/kernel-cache-tests/auxkc-pageablekc-vtable-patching-namespaces/bar2.cpp
dyld-832.7.1.tar.gz
[apple/dyld.git] / testing / kernel-cache-tests / auxkc-pageablekc-vtable-patching-namespaces / bar2.cpp
1
2 #include "bar1.h"
3
4 using namespace X;
5
6 class Bar2 : public Bar1
7 {
8 OSDeclareDefaultStructors( Bar2 )
9
10 public:
11 virtual int foo() override;
12 };
13
14 OSDefineMetaClassAndStructors( Bar2, Bar1 )
15
16 int Bar2::foo() {
17 return 1;
18 }