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
PR c++/53848
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
other
/
ptrmem6.C
blob
5fe796e1c0492cfcd5107df285d1aae104f14899
1
// PR c++/19666
2
// Origin: Volker Reichelt <reichelt@gcc.gnu.org>
3
// { dg-do compile }
4
5
struct A { int i; };
6
7
int foo (A *p)
8
{
9
return &p->i - &(p->*&A::i);
10
}