☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
other
/
ptrmem6.C
☽
☼
gcc/testsuite/g++.dg/other/ptrmem6.C
code
plain
raw
1
// PR c++/19666
2
// Origin: Volker Reichelt <
[email protected]
>
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
}