]> git.saurik.com Git - apple/dyld.git/blob - testing/kernel-cache-tests/kext-vtable-patching-arm64e/bar.cpp
dyld-851.27.tar.gz
[apple/dyld.git] / testing / kernel-cache-tests / kext-vtable-patching-arm64e / bar.cpp
1
2 #include "bar.h"
3
4 OSDefineMetaClassAndStructors( Bar, Foo )
5
6 int Bar::foo() {
7 return 1;
8 }
9
10 int bar() {
11 Bar* bar = new Bar();
12 return bar->foo();
13 }