OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Pizza-lize :-)
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
other
/
ptrmem6.C
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
}