Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
toolchain
/
llvm-project
/
090516fe932ad4ed14b72ea27017aeb4a15cb15c
/
.
/
llvm
/
test
/
Regression
/
C++Frontend
/
2003-12-08-ArrayOfPtrToMemberFunc.cpp
blob: b1677bc203d5d8e9b082832027d4d00aaad54a13 [
file
] [
log
] [
blame
]
struct
Evil
{
void
fun
();
};
int
foo
();
typedef
void
(
Evil
::*
memfunptr
)
();
static
memfunptr jumpTable
[]
=
{
&
Evil
::
fun
};
void
Evil
::
fun
()
{
(
this
->*
jumpTable
[
foo
()])
();
}