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
d: Fix gdc -O2 -mavx generates misaligned vmovdqa instruction [PR114171]
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
pmf2.C
blob
30a3aab1992ace3e6feea7ab043c89efede43988
1
// { dg-do assemble }
2
// PRMS Id: 4484 (bug 3)
3
// Bug: g++ does implicitly take the address of methods passed to fns.
4
5
struct A {
6
void f ();
7
};
8
9
void g (void (A::*)());
10
11
void h () {
12
g (A::f); // { dg-error "" } failed conversion to method pointer
13
}