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
Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git]
/
old-autovect-branch
/
gcc
/
testsuite
/
g++.old-deja
/
g++.mike
/
p11012.C
blob
b851f2c44e2b847da98e38be04486e77a40e6f71
1
// { dg-do assemble }
2
// { dg-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
}