repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
FSF GCC merge 02/23/03
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.mike
/
p11012.C
blob
407c83a8fcb9f70f1b9490f1067c8065816987ce
1
// Build don't link:
2
// Special g++ Options: -Wno-pmf-conversions
3
// prms-id: 11012
4
5
class Foo {
6
public:
7
int f(){ return 0; }
8
};
9
10
void foo() {
11
void *p1 = &Foo::f;
12
const void *p2 = &Foo::f;
13
int (*p3)() = &Foo::f;
14
}