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
Regenerate config/avr/avr.opt.urls
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
pmf4.C
blob
709532e8fab21037ee601c5aa481300182f9f231
1
// { dg-do assemble }
2
// PRMS Id: 4484 (bug 5)
3
// Bug: g++ can't convert between pmf types.
4
5
class A;
6
typedef void (A::*pmf)();
7
typedef void (A::*pmfc)() const;
8
9
pmfc p = (pmfc)(pmf)0; // { dg-bogus "" } pmf conversion