repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git]
/
clang
/
test
/
CodeGenCXX
/
2003-12-08-ArrayOfPtrToMemberFunc.cpp
blob
38de271b61328d1667a88cc9924f855c9d15e41e
1
// RUN: %clang_cc1 -emit-llvm %s -o -
2
3
struct
Evil
{
4
void
fun
();
5
};
6
int
foo
();
7
typedef
void
(
Evil
::*
memfunptr
) ();
8
static
memfunptr jumpTable
[] = { &
Evil
::
fun
};
9
10
void
Evil
::
fun
() {
11
(
this
->*
jumpTable
[
foo
()]) ();
12
}