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);
}