projects
/
apple
/
dyld.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
dyld-851.27.tar.gz
[apple/dyld.git]
/
testing
/
kernel-cache-tests
/
kernel-vtable-patching-error
/
bar.cpp
1
2
#include
"foo.h"
3
4
class
Bar
:
public
Foo
5
{
6
OSDeclareDefaultStructors
(
Bar
)
7
8
public
:
9
virtual
int
foo
();
10
};
11
12
OSDefineMetaClassAndStructors
(
Bar
,
Foo
)
13
14
int
Bar
::
foo
() {
15
return
1
;
16
}
17
18
int
bar
() {
19
Bar
*
bar
=
new
Bar
();
20
return
bar
->
foo
();
21
}