Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
other
/
ptrmem6.C
blob: 5fe796e1c0492cfcd5107df285d1aae104f14899 [
file
] [
log
] [
blame
]
// PR c++/19666
// Origin: Volker Reichelt <reichelt@gcc.gnu.org>
// { dg-do compile }
struct
A
{
int
i
;
};
int
foo
(
A
*
p
)
{
return
&
p
->
i
-
&(
p
->*&
A
::
i
);
}